v.24.5Improvement
Add build_id ALIAS column to trace_log for auto renaming on binary changes
Add a build_id ALIAS column to trace_log to facilitate auto renaming upon detecting binary changes. This is to address #52086. #63656 (Zimu Li).
Why it matters
This feature helps to automatically identify and differentiate logs generated by different builds of ClickHouse by using abuild_id. It solves the problem of manually renaming logs after binary updates, improving traceability and log management.How to use it
Users can access the newbuild_id column directly from the trace_log table. This ALIAS column will automatically reflect the current binary's build identifier without any manual configuration needed.