Search Shortcut cmd + k | ctrl + k
- Documentation
- Overview
- Specification
- Introduction
- Data Types
- Queries
- Tables
- Overview
- column
- column_mapping
- name_mapping
- column_tag
- data_file
- delete_file
- file_column_stats
- file_variant_stats
- file_partition_value
- files_scheduled_for_deletion
- inlined_data_tables
- metadata
- partition_column
- partition_info
- schema
- schema_versions
- snapshot
- snapshot_changes
- table
- table_column_stats
- table_stats
- tag
- view
- macro
- macro_impl
- macro_parameters
- sort_info
- sort_expression
- DuckDB Extension
- Introduction
- Usage
- Connecting
- Choosing a Catalog Database
- Choosing Storage
- Snapshots
- Schema Evolution
- Time Travel
- Upserting
- Configuration
- Paths
- Maintenance
- Recommended Maintenance
- Merge Files
- Expire Snapshots
- Cleanup of Files
- Rewrite Files with Deletes
- Checkpoint
- Advanced Features
- Constraints
- Conflict Resolution
- Data Change Feed
- Data Inlining
- Encryption
- Partitioning
- Transactions
- Row Lineage
- Macros
- Views
- Comments
- Sorted Tables
- Metadata
- Migrations
- Guides
- Overview
- Access Control
- Backups and Recovery
- Public DuckLake on Object Storage
- Using a Remote Data Path
- Troubleshooting
- Unsupported Features
- FAQ
Documentation
/ Specification
/ Tables
ducklake_schema
This table defines valid schemas.
| Column name | Column type | |
|---|---|---|
schema_id |
BIGINT |
Primary key |
schema_uuid |
UUID |
|
begin_snapshot |
BIGINT |
|
end_snapshot |
BIGINT |
|
schema_name |
VARCHAR |
|
path |
VARCHAR |
|
path_is_relative |
BOOLEAN |
schema_idis the numeric identifier of the schema.schema_idis incremented fromnext_catalog_idin theducklake_snapshottable.schema_uuidis a UUID that gives a persistent identifier for this schema. The UUID is stored here for compatibility with existing lakehouse formats.begin_snapshotrefers to asnapshot_idfrom theducklake_snapshottable. The schema exists starting with this snapshot id.end_snapshotrefers to asnapshot_idfrom theducklake_snapshottable. The schema exists up to but not including this snapshot id. Ifend_snapshotisNULL, the schema is currently valid.schema_nameis the name of the schema, e.g.,my_schema.pathis thedata_pathof the schema.path_is_relativewhether thepathis relative to thedata_pathof the catalog (true) or an absolute path (false).