Tables
Overview
A table is where tabular data is stored on Redivis. A table can be thought of as a grid made up of variables (columns) and rows (records). You'll see tables:
On the Tables tab of datasets
On table nodes in a project
Every table has a table viewer where you can explore the data, given you have appropriate access. There are three tabs where you can view the data and interact with it in different ways:
Variables view (requires metadata access)
Cells view (requires data access)
Query view (requires data access)
Table characteristics
Viewing variables
The Variables tab provides a searchable list of the table's variables. In order to view this tab, you will need metadata access to the corresponding table.
Clicking any row will display the variable's statistics panel, which shows some common summary statistics calculated from the variable's data.
Viewing cells
The Cells tab allows you to quickly preview and explore the table's data as a grid, regardless of the table's size. In order to view this tab, you will need data access to the corresponding table.
Clicking any the header or cells in any column will display the variable's summary statistics. You can also right click a cell to filter by a specific value, or sort on that variable.
For any Geography type variables, you can hover on the cell or click to see a preview.
The order of records within a table is arbitrary and non-deterministic, unless the table is the result of a transform or query that specifies an order clause.
This behavior allows for the performance and scaling characteristics of tabular data on Redivis, and is typical for relational databases and other tabular data stores.
If the order of records is considered to be part of the "data" in your table, you should create an additional "record number" variable that can be sorted on. Alternatively, you can upload your source files as unstructured data, in which case an exact copy of the original file will be stored.
Querying tables
Project transforms provide the most robust and reproducible mechanism for querying tables on Redivis. However, you can execute SQL queries directly on a table for when you want to perform a quick, one-off analysis. In order to perform a query, you will need data access to the corresponding table.
The Query tab on a table contains a SQL editor with scaffolding to reference that table. The query syntax follows the same rules as the transform SQL query syntax. Additionally query results may not exceed 10GB – if you need to materialize larger results, use a transform for your query.
Choose one of the templates or type your own SQL query, and click the Run button to see the results. You can select any column in the query results to view the summary statistics for that column.
If you update the query after execution, it will become "stale" (marked in yellow), which is a reminder that the results no longer match the query you are typing. The previous results will still be shown to help inform the new query you are writing.
Accessibility note for keyboard navigation: When you open the query tab, your cursor will be focused on the query editor. To navigate away using the keyboard, first press Escape, then press Tab to focus with other non-editor elements.
Last updated