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).
Added a build_id ALIAS column to the trace_log table to enable automatic renaming when binary changes are detected.

Why it matters

This feature helps to automatically identify and differentiate logs generated by different builds of ClickHouse by using a build_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 new build_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.