Table and column descriptions
Table and column descriptions in Storage: UI and API editing, size limits per backend, external tables, workspaces, Data Gateway and KBC.description metadata.
Every Storage table and column can carry a description. This page lists where descriptions come from, where they are written, and their limits.
Tables and columns carry a description that is part of the
table definition (opens in a new tab).
It is the text shown for the table and its columns in Storage and returned by the API as description.
Edit Descriptions in the Storage UI
Section titled “Edit Descriptions in the Storage UI”On Snowflake and BigQuery projects, open a bucket and then a table.
- Table description: on the Overview tab, the Table Description box has an Add description button. An existing description opens for editing when you click it.
- Column description: on the Schema tab, each column row has a Description cell with an Edit Description button.
Descriptions are Markdown, within the size limit, and are saved with Save. Saving a description in the UI turns off the Managed by Keboola switch of the table, so Keboola components stop updating the descriptions of the table and all its columns.
To return to the descriptions from the source, turn the switch on again in the Table Description box. Turning it on changes no description by itself:
- The next run of a component that writes the table replaces the descriptions with the values it provides.
- This applies to the table and all its columns at once, so your other edits are replaced too.
- A description that the component does not provide stays as it is.
The description of an alias shows the description of its source table and is read-only, as are the descriptions of tables in buckets backed by an external schema (see Descriptions of External Tables).
Set Descriptions Through the API
Section titled “Set Descriptions Through the API”Send the table description, and a description for each column, when you
create a table with a definition (opens in a new tab)
or update its definition (opens in a new tab).
When you create a table, a column description goes in the column’s definition.description; when you update a
table, it is the column’s description.
The table list (opens in a new tab)
returns the table description and, with include=definition, the column descriptions.
Descriptions in Your Backend
Section titled “Descriptions in Your Backend”On Snowflake and BigQuery projects the descriptions are written to the database itself: a Snowflake COMMENT on
the table and its columns, and the BigQuery table and column description. Storage writes them when the table is
created and whenever a description changes. You can therefore see the same text in a SQL client or in the
BigQuery console.
Storage accepts descriptions up to 65,535 bytes (fewer characters for non-ASCII text) and stores the full text, which stays available through the Storage API. The backend receives only the part within its own limit:
| Backend | Table description | Column description |
|---|---|---|
| Snowflake | 16,384 characters | 16,384 characters |
| BigQuery | 16,384 characters | 1,024 characters |
Exception: on BigQuery, column descriptions are not truncated when you save them through the table definition update, which is also what the Storage UI and components use. An update with a column description longer than 1,024 characters fails, so keep BigQuery column descriptions within the limit.
Descriptions are not written to the backend for:
- aliases that are not materialized as a view, and tables in linked buckets;
- tables in buckets backed by an external schema: their description comes from the source, and nothing is written back to it (see Descriptions of External Tables);
- projects on other backends.
Aliases that synchronize columns with their source read the description of the table they point to; an alias’s own table description takes precedence. A materialized alias view carries the resolved description as its comment (Snowflake) or description (BigQuery), and is updated when a description changes.
Descriptions of External Tables
Section titled “Descriptions of External Tables”In external buckets (a registered Snowflake schema or Secure Data Share, or a
BigQuery external dataset), the source owns the descriptions. When you register the bucket, and on every refresh,
Storage takes the table and column descriptions from the source comments: the Snowflake COMMENT or the BigQuery
description. Nothing is ever written back to the source.
The descriptions are read-only in the Storage UI. To change one, edit the comment in Snowflake or BigQuery and
refresh the bucket. The definition update (opens in a new tab)
rejects a changed description with HTTP 400 and the error code storage.tables.externalDescriptionNotEditable.
Newly registered buckets get the descriptions right away. Buckets registered before November 10, 2026 get them only for tables whose comment changes later. To load them for all tables, open the bucket, choose Refresh bucket and check Reload all tables. If you run into a problem, contact Keboola support.
Descriptions you wrote in Keboola earlier are replaced by the source comment when the table is refreshed. If the source has no comment, the description is cleared; in a Secure Data Share bucket it is kept.
A refresh that changes a description emits the storage.tableDescriptionChanged or storage.columnDescriptionChanged
event. The event, listed among the events of the bucket and of the table, contains both the previous and the new
text, up to 8,000 characters each. Comments longer than 65,535 bytes are skipped, and characters such as emoji are
stored as ?.
A KBC.description metadata row written through the
metadata API (opens in a new tab)
is not changed by a refresh. The UI does not show it, but it stays readable through the Storage API.
Descriptions in Workspaces and Data Gateway
Section titled “Descriptions in Workspaces and Data Gateway”Storage table and column descriptions are written to the tables loaded into Snowflake and BigQuery
workspaces: as a Snowflake COMMENT or a BigQuery description. SQL clients, the MCP server and Kai
therefore see the same context as Storage.
- A
COPYload writes the descriptions when it creates the workspace table. An incremental load into an existing table keeps the descriptions it already has. - A
CLONEload keeps the descriptions of the source table on Snowflake and gets the Storage descriptions on BigQuery. - The input mapping can set its own table or column description for a workspace load, in the input mapping editor in the UI. The description in Storage stays unchanged. An empty description in the input mapping falls back to the Storage description.
- Data Gateway (Snowflake): the comments reach the reader account through the share. Existing tables get them on their next Data Gateway run.
The VIEW load type and the Snowflake and BigQuery writers do not carry descriptions yet.
Relation to KBC.description Metadata
Section titled “Relation to KBC.description Metadata”The description in the table definition is the source of truth. For compatibility, Storage mirrors it into the
KBC.description metadata under the storage provider. A KBC.description written by another provider
(for example a component) is only a fallback, used when the table or column has no description from the user or from
Storage. For a typed table whose description field in the table definition is empty, the table detail falls back to the
KBC.description that Storage wrote; the
table list (opens in a new tab) does not.
New integrations should read and write the description field of the table definition, not the metadata.
Next: Data types →
Was this page helpful?
Thank you for helping improve Keboola's documentation!