Update arrow_format.xml

This commit is contained in:
Kruglov Pavel 2022-08-15 00:10:08 +02:00 committed by GitHub
parent 7df1dd0f48
commit ac85676d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,14 @@
<test>
<create_query>CREATE TABLE test (uint32 UInt32, n_uint32 Nullable(UInt32), lc LowCardinality(String), n_lc LowCardinality(Nullable(String))) ENGINE=File(Arrow) SETTINGS output_format_arrow_low_cardinality_as_dictionary=1</create_query>
<fill_query>insert into test select number, number, toString(number % 10000), toString(number % 10000) from numbers(20000000)</fill_query>
<create_query>CREATE TABLE test (uint32 UInt32, n_uint32 Nullable(UInt32), lc LowCardinality(String)) ENGINE=File(Arrow) SETTINGS output_format_arrow_low_cardinality_as_dictionary=1</create_query>
<create_query>CREATE TABLE test_lc_nullable (lc LowCardinality(Nullable(String))) ENGINE=File(Arrow) SETTINGS output_format_arrow_low_cardinality_as_dictionary=1</create_query>
<fill_query>insert into test select number, number, toString(number % 10000) from numbers(10000000)</fill_query>
<fill_query>insert into test_lc_nullable select toString(number % 10000) from numbers(10000000)</fill_query>
<query>SELECT uint32 from test format Null</query>
<query>SELECT n_uint32 from test format Null</query>
<query>SELECT lc from test format Null</query>
<query>SELECT n_lc from test format Null</query>
<query>SELECT lc from test_nlc_ullable format Null</query>
<drop_query>DROP TABLE IF EXISTS test</drop_query>
<drop_query>DROP TABLE IF EXISTS test_lc_nullable</drop_query>
</test>