v.22.1Improvement

Send profile info in clickhouse-local, resolves #33093 and #33097

Send profile info inside clickhouse-local. Closes #33093. #33097 (Kseniia Sumarokova).
The clickhouse-local tool now includes the ability to send and display profile information during its execution.

Why it matters

This feature provides users with detailed profiling data when running queries using clickhouse-local. It helps in diagnosing performance issues and understanding query execution behavior locally without a full ClickHouse server setup.

How to use it

When running clickhouse-local, profiling information is automatically collected and sent. Users can analyze the output or logs to access detailed profiling insights.