This table describes SQL-style VIEW definitions.
| Column name | Column type | |
|---|---|---|
view_id |
BIGINT |
|
view_uuid |
UUID |
|
begin_snapshot |
BIGINT |
|
end_snapshot |
BIGINT |
|
schema_id |
BIGINT |
|
view_name |
VARCHAR |
|
dialect |
VARCHAR |
|
sql |
VARCHAR |
|
column_aliases |
VARCHAR |
view_idis the numeric identifier of the view.view_idis incremented fromnext_catalog_idin theducklake_snapshottable.view_uuidis a UUID that gives a persistent identifier for this view. The UUID is stored here for compatibility with existing lakehouse formats.begin_snapshotrefers to asnapshot_idfrom theducklake_snapshottable. The view exists starting with this snapshot id.end_snapshotrefers to asnapshot_idfrom theducklake_snapshottable. The view exists up to but not including this snapshot id. Ifend_snapshotisNULL, the view is currently valid.schema_idrefers to aschema_idfrom theducklake_schematable.view_nameis the name of the view, e.g.,my_view.dialectis the SQL dialect of the view definition, e.g.,duckdb.sqlis the SQL string that defines the view, e.g.,SELECT * FROM my_table.column_aliasescontains a possible rename of the view columns. Can beNULLif no rename is set.