ClickHouse/tests/performance/tsv_csv_nullable_parsing.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
688 B
XML
Raw Permalink Normal View History

2021-10-27 14:29:36 +00:00
<test>
<create_query>CREATE TABLE IF NOT EXISTS table_tsv (s Nullable(String)) ENGINE = File('TSV')</create_query>
<create_query>CREATE TABLE IF NOT EXISTS table_csv (s Nullable(String)) ENGINE = File('CSV')</create_query>
<fill_query>INSERT INTO table_tsv SELECT number % 2 ? 'Some text' : NULL FROM numbers(1000000) FORMAT TSV</fill_query>
<fill_query>INSERT INTO table_csv SELECT number % 2 ? 'Some text' : NULL FROM numbers(1000000) FORMAT CSV</fill_query>
<query>SELECT * FROM table_tsv FORMAT Null</query>
<query>SELECT * FROM table_csv FORMAT Null</query>
<drop_query>DROP TABLE IF EXISTS table_tsv</drop_query>
<drop_query>DROP TABLE IF EXISTS table_csv</drop_query>
</test>