View columns can also have tags, which are defined in this table. View column tags require DuckLake format version 1.1.
| Column name | Column type | |
|---|---|---|
view_id |
BIGINT |
|
column_name |
VARCHAR |
|
begin_snapshot |
BIGINT |
|
end_snapshot |
BIGINT |
|
key |
VARCHAR |
|
value |
VARCHAR |
view_idrefers to aview_idfrom theducklake_viewtable.column_nameis the name of the view column as produced by the view's query, before the view'scolumn_aliasesare applied. For example, forCREATE VIEW v (x) AS SELECT id FROM t, a comment onxis stored withcolumn_nameid. View columns are identified by name rather than by acolumn_id.begin_snapshotrefers to asnapshot_idfrom theducklake_snapshottable. The tag is valid starting with this snapshot id.end_snapshotrefers to asnapshot_idfrom theducklake_snapshottable. The tag is valid up to but not including this snapshot id. Ifend_snapshotisNULL, the tag is currently valid.keyis the tag key and cannot beNULL. DuckDB stores SQL comments under thecommentkey.valueis the tag value.
Replacing a tag ends the previous tag version and creates a new one. Dropping a view ends its column tags. Expiring snapshots removes tag versions that are no longer visible in any retained snapshot.
© 2026 DuckDB Foundation, Amsterdam NL