v.25.5New Feature
Clickhouse-local (and its shorthand alias, ch) now use an implicit FROM table when there is input data for processing
clickhouse-local(and its shorthand alias,ch) now use an implicitFROM tablewhen there is input data for processing. This closes #65023. Also enabled format inference in clickhouse-local if--input-formatis not specified and it processes a regular file. #79085 (Alexey Milovidov).
Why it matters
This feature addresses the inconvenience of explicitly specifying aFROM table clause in clickhouse-local queries when input data is piped or provided. By automatically adding the implicit FROM clause, it streamlines local data processing workflows. Format inference further simplifies usage by automatically detecting the input data format if not explicitly provided, reducing manual configuration.How to use it
When usingclickhouse-local or its alias ch, simply provide input data without needing to add FROM table in your queries. If no --input-format is specified and a regular input file is processed, the format will be automatically inferred and applied.