ClickHouse/tests/queries/0_stateless/02318_template_schema_inference_bug.sql
2022-06-02 11:29:52 +00:00

3 lines
236 B
SQL

insert into function file(data_02318.tsv) select * from numbers(10);
desc file('data_02318.tsv', 'Template') SETTINGS format_template_row='nonexist', format_template_resultset='nonexist'; -- {serverError CANNOT_EXTRACT_TABLE_STRUCTURE}