Tables in Storage
What a Storage table is: importing into an existing table, naming rules, alias tables, metadata, and how primary keys and incremental loading fit in.
Tables hold your project’s data in Storage. This page explains what a table and an alias are and the rules every table follows. For tasks such as creating an alias or deleting rows, see Manage tables.
What a table is
Section titled “What a table is”The Table Storage for your project is available under the Tables & Buckets tab in the Storage section. All data tables are organized into buckets that can also be used to share tables between projects.
The actual data tables and the buckets are created primarily by Keboola components (data source connectors, transformations, and applications), or they are imported from CSV files. If you want to import data into an already existing table, the imported table must contain all the columns of the existing table, even if the existing table is empty. If any columns are missing, you will receive an error message similar to the following:
Some columns are missing in the CSV file. Missing columns: lat,long. Expected columns: lat,long.Please check if the expected "," delimiter is used in the CSV file.The imported file may also contain additional columns not present in the existing table. In that case, the columns from the imported table will be added to the existing table.
Table and column names can contain only alphanumeric characters. Dash and
underscores are allowed. Column names must not start or end with dash - or underscore
character _.
When you select a table from any bucket in Storage, detailed information about the table will be displayed at the top of the screen. This is what we refer to as the table detail throughout our documentation.
Aliases
Section titled “Aliases”Apart from actual tables, it is also possible to create aliases. They behave similarly to database views (opens in a new tab).
An alias does not contain any actual data; it is simply a link to some already existing data. Therefore, an alias cannot be written to, and its size does not count toward your project quota.
Alias tables are automatically materialized as physical database VIEWs. This makes them fully accessible in workspaces and
transformations via read-only storage access — no input mapping configuration is required.
Filtered aliases are also supported; the filter condition is enforced as a WHERE clause in the VIEW.
In linked buckets, alias VIEWs from the source project are automatically mirrored to the destination project,
making them immediately queryable there as well.
By default, alias columns are automatically synchronized with the source table. Columns added to the source table will be added to the alias automatically. You can prevent this by disabling Synchronize columns with source table.
Aliases with automatically synchronized columns and without a filter can be chained.
An alias lives only as long as its source table: deleting a table deletes its aliases too, after a confirmation. How to create one is in Create an alias table.
Metadata
Section titled “Metadata”Each Table Storage object (bucket, table, column) has an associated key-value store. This can be used to store arbitrary metadata (information about the data itself). Apart from arbitrary user-defined metadata, there is also some information stored automatically. For example, each bucket and table has information about which configuration of which component created them. One important use case of metadata is Column Data Types. Table and column descriptions live in the table definition and are mirrored into metadata.
Incremental loading
Section titled “Incremental loading”Each table may have a primary key that identifies its rows: values are deduplicated on load, and with incremental loading new rows are added and existing rows updated instead of the table being cleared. Components can then use incremental processing to read only the rows changed since their last successful run, or within a time window you set. How this works, with examples, is in Primary keys and incremental loading.
This section
Section titled “This section”- Manage tables: create an alias, set a primary key, truncate a table, delete rows, change a column type.
- Primary keys and incremental loading: deduplication, incremental loads and incremental processing.
- Table and column descriptions: where descriptions come from and their limits.
- Native data types: what typed tables are and how they get created.
- Data types reference: base types, NULL handling and the table definition.
- CSV files: the format Storage accepts and the format it produces.
- CSV files in Excel: export a sheet for Storage, open an exported table.
- Back up and restore tables: time travel restore and snapshots.
Table imports and exports pass through File Storage: see Files in Storage.
Next: Manage tables →
Was this page helpful?
Thank you for helping improve Keboola's documentation!