mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Add performance test
This commit is contained in:
parent
d1ef96a5ef
commit
d30aecbda8
15
tests/performance/tsv_csv_nullable_parsing.xml
Normal file
15
tests/performance/tsv_csv_nullable_parsing.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<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>
|
Loading…
Reference in New Issue
Block a user