add performance tests

This commit is contained in:
taiyang-li 2023-10-30 20:29:43 +08:00
parent 8954b806b4
commit 38f24c0455

View File

@ -0,0 +1,17 @@
<test>
<settings>
<output_format_orc_string_as_string>1</output_format_orc_string_as_string>
<input_format_orc_row_batch_size>10000</input_format_orc_row_batch_size>
<flatten_nested>0</flatten_nested>
</settings>
<fill_query>
insert into function file('test_orc_tfp.orc') select * from generateRandom('int64_column Nullable(Int64), tuple_column Tuple(a Nullable(String), b Nullable(Float64), c Nullable(Int64)), array_tuple_column Array(Tuple(a Nullable(String), b Nullable(Float64), c Nullable(Int64))), map_tuple_column Map(String, Tuple(a Nullable(String), b Nullable(Float64), c Nullable(Int64)))') limit 1000000
</fill_query>
<drop_query>DROP TABLE IF EXISTS test_orc_tfp</drop_query>
<query>select * from file('test_orc_tfp.orc', 'ORC', 'int64_column Int64, tuple_column Tuple(c Nullable(Int64))') format Null</query>
<query>select * from file('test_orc_tfp.orc', 'ORC', 'int64_column Int64, array_tuple_column Array(Tuple(c Nullable(Int64)))') format Null</query>
<query>select * from file('test_orc_tfp.orc', 'ORC', 'int64_column Int64, map_tuple_column Map(String, Tuple(c Nullable(Int64)))') format Null</query>
</test>