v.21.1New Features
Add query_id column to system.part_log for inserted parts
Addquery_idcolumn tosystem.part_logfor inserted parts. Closes #10097. #18644 (flynn).
Why it matters
This feature allows users to identify which queries inserted specific parts into ClickHouse tables, improving query auditing, troubleshooting, and performance analysis by linking data parts to their originating queries.How to use it
After upgrading, users can query thesystem.part_log table and reference the new query_id column to see the query identifiers associated with each inserted part without any additional configuration.