2023-02-24 09:53:17 +00:00
<test >
<settings >
<max_insert_threads > 8</max_insert_threads>
2024-02-25 18:29:00 +00:00
<max_threads > 1</max_threads>
2023-02-24 09:53:17 +00:00
</settings>
<create_query >
CREATE TABLE t_nullable
(
key_string1 Nullable(String),
key_string2 Nullable(String),
key_string3 Nullable(String),
2023-06-28 07:04:43 +00:00
key_int64_1 Nullable(Int64),
key_int64_2 Nullable(Int64),
key_int64_3 Nullable(Int64),
key_int64_4 Nullable(Int64),
key_int64_5 Nullable(Int64),
2023-02-24 09:53:17 +00:00
m1 Int64,
2023-06-28 07:04:43 +00:00
m2 Int64
2023-02-24 09:53:17 +00:00
)
2023-06-26 05:42:24 +00:00
ENGINE = Memory
2023-02-24 09:53:17 +00:00
</create_query>
2023-08-07 05:37:24 +00:00
<fill_query > insert into t_nullable select ['aaaaaa','bbaaaa','ccaaaa','ddaaaa'][number % 101 + 1], ['aa','bb','cc','dd'][number % 100 + 1], ['aa','bb','cc','dd'][number % 102 + 1], number%10+1, number%10+2, number%10+3, number%10+4,number%10+5, number%6000+1, number%5000+2 from numbers_mt(20000000)</fill_query>
2023-06-26 05:42:24 +00:00
<query > select key_string1,key_string2,key_string3, min(m1) from t_nullable group by key_string1,key_string2,key_string3</query>
2023-06-28 07:04:43 +00:00
<query > select key_string3,key_int64_1,key_int64_2, min(m1) from t_nullable group by key_string3,key_int64_1,key_int64_2</query>
2023-08-07 05:37:24 +00:00
<query > select key_int64_1,key_int64_2,key_int64_3,key_int64_4,key_int64_5, min(m1) from t_nullable group by key_int64_1,key_int64_2,key_int64_3,key_int64_4,key_int64_5</query>
<query > select toFloat64(key_int64_1),toFloat64(key_int64_2),toFloat64(key_int64_3),toFloat64(key_int64_4),toFloat64(key_int64_5), min(m1) from t_nullable group by toFloat64(key_int64_1),toFloat64(key_int64_2),toFloat64(key_int64_3),toFloat64(key_int64_4),toFloat64(key_int64_5) limit 10</query>
2023-08-07 06:25:15 +00:00
<query > select toDecimal64(key_int64_1, 3),toDecimal64(key_int64_2, 3),toDecimal64(key_int64_3, 3),toDecimal64(key_int64_4, 3),toDecimal64(key_int64_5, 3), min(m1) from t_nullable group by toDecimal64(key_int64_1, 3),toDecimal64(key_int64_2, 3),toDecimal64(key_int64_3, 3),toDecimal64(key_int64_4, 3),toDecimal64(key_int64_5, 3) limit 10</query>
2023-02-24 09:53:17 +00:00
<drop_query > drop table if exists t_nullable</drop_query>
2024-02-25 18:29:00 +00:00
</test>