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_id
refers to amapping_id
from theducklake_column_mapping
table.column_id
refers to acolumn_id
from theducklake_column
table.source_name
refers to the name of the field this mapping applies to.target_field_id
refers to thefield-id
that a field with thesource_name
is mapped to.parent_column
is thecolumn_id
of the parent column. This isNULL
for top-level and non-nested columns. For example, forSTRUCT
types, this would refer to the "parent" struct column.