mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
16 lines
688 B
XML
16 lines
688 B
XML
<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>
|