Search Shortcut cmd + k | ctrl + k
- Documentation
- Specification
- Introduction
- Data Types
- Queries
- Tables
- Overview
- column
- column_mapping
- name_mapping
- column_tag
- data_file
- delete_file
- file_column_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
- 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
- Views
- Comments
- Metadata
- Migrations
- Guides
- Unsupported Features
- FAQ
Documentation
/ Specification
/ Tables
ducklake_name_mapping
This table contains the information used to map a name to a column_id for a given mapping_id with the map_by_name type.
| Column name | Column type | |
|---|---|---|
mapping_id |
BIGINT |
|
column_id |
BIGINT |
|
source_name |
VARCHAR |
|
target_field_id |
BIGINT |
|
parent_column |
BIGINT |
mapping_idrefers to amapping_idfrom theducklake_column_mappingtable.column_idrefers to acolumn_idfrom theducklake_columntable.source_namerefers to the name of the field this mapping applies to.target_field_idrefers to thefield-idthat a field with thesource_nameis mapped to.parent_columnis thecolumn_idof the parent column. This isNULLfor top-level and non-nested columns. For example, forSTRUCTtypes, this would refer to the "parent" struct column.