v.21.11Improvements
Pass Initial Query ID for ClickHouse Benchmark Queries
Pass through initial query_id forclickhouse-benchmark(previously if you run remote query viaclickhouse-benchmark, queries on shards will not be linked to the initial query viainitial_query_id). #29364 (Azat Khuzhin).
Why it matters
Previously, when running queries on remote shards usingclickhouse-benchmark, the queries on the shards were not linked back to the original benchmarking query because the initial_query_id was not propagated. This feature ensures that the initial query_id is passed through to all shard queries, improving traceability and debugging during benchmarking.How to use it
Useclickhouse-benchmark as usual to run remote queries. The initial query_id will now be automatically passed to shard queries without any additional configuration required.