v.21.11New Features

Add Interactive Mode for clickhouse-local and Merge with clickhouse-client

Add interactive mode for clickhouse-local. So, you can just run clickhouse-local to get a command line ClickHouse interface without connecting to a server and process data from files and external data sources. Also merge the code of clickhouse-client and clickhouse-local together. Closes #7203. Closes #25516. Closes #22401. #26231 (Kseniia Sumarokova).
Added an interactive mode to clickhouse-local, providing a command line ClickHouse interface that runs locally without connecting to a server, enabling data processing from files and external sources. Also unified the codebase of clickhouse-client and clickhouse-local.

Why it matters

The feature enables users to interactively run ClickHouse commands in a local environment without requiring a server connection. This is useful for quick data processing tasks, testing, and development on local data sources and files, improving convenience and flexibility.

How to use it

Simply run clickhouse-local in your terminal to start the interactive ClickHouse CLI locally. You can then execute queries against files and external data sources directly, similarly to clickhouse-client but without connecting to a remote server.