v.21.6New Feature
Add thread_name column to system.stack_trace
Addthread_namecolumn insystem.stack_trace. This closes #23256. #24124 (abel-cheng).
Why it matters
This feature allows users to see the name of the thread associated with each stack trace entry, improving diagnostics and debugging by making stack trace data more informative and easier to correlate with running threads.How to use it
Query thesystem.stack_trace table as usual; the new thread_name column will be available automatically and can be selected alongside other columns to get thread name information in stack traces.