v.22.1Improvement
Use --database Option for ClickHouse-Local
Use --database option for clickhouse-local. #32797 (Kseniia Sumarokova).Why it matters
This feature allows users to set the default database when runningclickhouse-local. It simplifies queries and operations by enabling the use of database-qualified objects without needing to specify the database explicitly each time.How to use it
Runclickhouse-local with the --database <database_name> option to set the active database. For example:clickhouse-local --database my_database