v.25.4Improvement

Add query_id to system

Add query_id to system.errors. Closes #75815. #76581 (Vladimir Baikov).
Added a new query_id column to the system.errors table in ClickHouse.

Why it matters

This feature allows users to associate errors with the specific query ID that caused them, improving error traceability and debugging capabilities within ClickHouse.

How to use it

Users can query the system.errors table and include the query_id column to identify which query triggered each error. No special configuration is needed; the column is available by default after the update.