Description
Thesystem.delta_lake_metadata_log table records metadata access and parsing events for Delta Lake tables read by ClickHouse. It provides detailed information about each metadata file, which is useful for debugging, auditing, and understanding Delta table structure evolution.
This table logs every metadata file read from Delta Lake tables. It helps users trace how ClickHouse interprets Delta table metadata and diagnose issues related to schema evolution, snapshot resolution, or query planning.
This table is primarily intended for debugging purposes.
Controlling log verbosity
You can control which metadata events are logged using thedelta_lake_log_metadata setting.
To log all metadata used in the current query:
Columns
hostname(LowCardinality(String)) — Hostname of the server executing the query.clickhouse_version(LowCardinality(String)) — Version of the ClickHouse server that produced the row.system_processor(LowCardinality(String)) — CPU architecture of the ClickHouse server that produced the row.event_date(Date) — Date of the entry.event_time(DateTime) — Event time.query_id(String) — Query id.table_path(String) — Table path.file_path(String) — File path.content(String) — Content in a JSON format.