v.23.5New Feature
Clickhouse-client now supports multiquery mode without a specified query
Clickhouse-client now accepts queries after "--multiquery" when "--query" (or "-q") is absent. example: clickhouse-client --multiquery "select 1; select 2;". #49870 (Alexey Gerasimchuk).
Why it matters
This feature allows users to run multiple queries in one command without explicitly specifying the--query option. It simplifies batch query execution, making it more convenient to execute multiple statements directly through clickhouse-client.How to use it
Use theclickhouse-client with the --multiquery option followed by the queries inside quotes, without the need to provide --query or -q. For example:clickhouse-client --multiquery "select 1; select 2;"