v.24.10Improvement
Command-line Args Default Bool to True When No Value Provided
Command-line arguments for Bool settings are set to true when no value is provided for the argument (e.g. clickhouse-client --optimize_aggregation_in_order --query "SELECT 1"). #70459 (davidtsuk).Why it matters
This feature simplifies enabling boolean settings via the command line by assumingtrue if no value is provided, reducing the need to explicitly specify the value and improving convenience for users.How to use it
To use this feature, pass the boolean setting as a command-line argument without a value. For example:clickhouse-client --optimize_aggregation_in_order --query "SELECT 1"This will set the
optimize_aggregation_in_order setting to true.