Disable 03038_nested_dynamic_merges* under sanitizers because it's too slow

This commit is contained in:
avogar 2024-08-05 09:57:13 +00:00
parent 344000c89a
commit 0a7a67b8e0
6 changed files with 123 additions and 4 deletions

View File

@ -1,4 +1,4 @@
-- Tags: long
-- Tags: long, no-tsan, no-msan, no-ubsan, no-asan
set allow_experimental_variant_type = 1;
set use_variant_as_common_type = 1;

View File

@ -1,4 +1,4 @@
-- Tags: long
-- Tags: long, no-tsan, no-msan, no-ubsan, no-asan
set allow_experimental_variant_type = 1;
set use_variant_as_common_type = 1;

View File

@ -0,0 +1,84 @@
2 Tuple(a Dynamic(max_types=3)):Date
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):String
5 Tuple(a Dynamic(max_types=3)):UInt64
10 UInt64:None
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):UInt64
7 Tuple(a Dynamic(max_types=3)):String
10 UInt64:None
2 Tuple(a Dynamic(max_types=3)):DateTime
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):UInt64
7 Tuple(a Dynamic(max_types=3)):String
10 Tuple(a Dynamic(max_types=3)):Tuple(UInt64)
10 UInt64:None
13 Tuple(a Dynamic(max_types=3)):None
5 Tuple(a Dynamic(max_types=3)):UInt64
10 Tuple(a Dynamic(max_types=3)):Tuple(UInt64)
10 UInt64:None
12 Tuple(a Dynamic(max_types=3)):String
13 Tuple(a Dynamic(max_types=3)):None
2 Tuple(a Dynamic(max_types=3)):Date
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):String
5 Tuple(a Dynamic(max_types=3)):UInt64
10 UInt64:None
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):UInt64
7 Tuple(a Dynamic(max_types=3)):String
10 UInt64:None
2 Tuple(a Dynamic(max_types=3)):DateTime
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):UInt64
7 Tuple(a Dynamic(max_types=3)):String
10 Tuple(a Dynamic(max_types=3)):Tuple(UInt64)
10 UInt64:None
13 Tuple(a Dynamic(max_types=3)):None
5 Tuple(a Dynamic(max_types=3)):UInt64
10 Tuple(a Dynamic(max_types=3)):Tuple(UInt64)
10 UInt64:None
12 Tuple(a Dynamic(max_types=3)):String
13 Tuple(a Dynamic(max_types=3)):None
2 Tuple(a Dynamic(max_types=3)):Date
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):String
5 Tuple(a Dynamic(max_types=3)):UInt64
10 UInt64:None
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):UInt64
7 Tuple(a Dynamic(max_types=3)):String
10 UInt64:None
2 Tuple(a Dynamic(max_types=3)):DateTime
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):UInt64
7 Tuple(a Dynamic(max_types=3)):String
10 Tuple(a Dynamic(max_types=3)):Tuple(UInt64)
10 UInt64:None
13 Tuple(a Dynamic(max_types=3)):None
5 Tuple(a Dynamic(max_types=3)):UInt64
10 Tuple(a Dynamic(max_types=3)):Tuple(UInt64)
10 UInt64:None
12 Tuple(a Dynamic(max_types=3)):String
13 Tuple(a Dynamic(max_types=3)):None
2 Tuple(a Dynamic(max_types=3)):Date
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):String
5 Tuple(a Dynamic(max_types=3)):UInt64
10 UInt64:None
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):UInt64
7 Tuple(a Dynamic(max_types=3)):String
10 UInt64:None
2 Tuple(a Dynamic(max_types=3)):DateTime
3 Tuple(a Dynamic(max_types=3)):Array(UInt8)
5 Tuple(a Dynamic(max_types=3)):UInt64
7 Tuple(a Dynamic(max_types=3)):String
10 Tuple(a Dynamic(max_types=3)):Tuple(UInt64)
10 UInt64:None
13 Tuple(a Dynamic(max_types=3)):None
5 Tuple(a Dynamic(max_types=3)):UInt64
10 Tuple(a Dynamic(max_types=3)):Tuple(UInt64)
10 UInt64:None
12 Tuple(a Dynamic(max_types=3)):String
13 Tuple(a Dynamic(max_types=3)):None

View File

@ -0,0 +1,35 @@
set allow_experimental_variant_type = 1;
set use_variant_as_common_type = 1;
set allow_experimental_dynamic_type = 1;
set enable_named_columns_in_function_tuple = 0;
drop table if exists test;
{% for engine in ['MergeTree order by id settings min_rows_for_wide_part=1000000000, min_bytes_for_wide_part=10000000000',
'MergeTree order by id settings min_rows_for_wide_part=1000000000, min_bytes_for_wide_part=10000000000, vertical_merge_algorithm_min_rows_to_activate=1, vertical_merge_algorithm_min_columns_to_activate=1',
'MergeTree order by id settings min_rows_for_wide_part=1, min_bytes_for_wide_part=1',
'MergeTree order by id settings min_rows_for_wide_part=1, min_bytes_for_wide_part=1, vertical_merge_algorithm_min_rows_to_activate=1, vertical_merge_algorithm_min_columns_to_activate=1'] -%}
create table test (id UInt64, d Dynamic(max_types=3)) engine=MergeTree order by id settings min_rows_for_wide_part=1, min_bytes_for_wide_part=1, vertical_merge_algorithm_min_rows_to_activate=1, vertical_merge_algorithm_min_columns_to_activate=1, lock_acquire_timeout_for_background_operations=600;
system stop merges test;
insert into test select number, number from numbers(10);
insert into test select number, tuple(if(number % 2 == 0, number, 'str_' || toString(number)))::Tuple(a Dynamic(max_types=3)) from numbers(10);
insert into test select number, tuple(if(number % 3 == 0, toDate(number), range(number % 10)))::Tuple(a Dynamic(max_types=3)) from numbers(5);
select count(), dynamicType(d) || ':' || dynamicType(d.`Tuple(a Dynamic(max_types=3))`.a) as type from test group by type order by count(), type;
system start merges test;
optimize table test final;
select count(), dynamicType(d) || ':' || dynamicType(d.`Tuple(a Dynamic(max_types=3))`.a) as type from test group by type order by count(), type;
insert into test select number, tuple(if(number % 3 == 0, toDateTime(number), NULL))::Tuple(a Dynamic(max_types=3)) from numbers(5);
insert into test select number, tuple(if(number % 2 == 0, tuple(number), NULL))::Tuple(a Dynamic(max_types=3)) from numbers(20);
select count(), dynamicType(d) || ':' || dynamicType(d.`Tuple(a Dynamic(max_types=3))`.a) as type from test group by type order by count(), type;
system start merges test;
optimize table test final;
select count(), dynamicType(d) || ':' || dynamicType(d.`Tuple(a Dynamic(max_types=3))`.a) as type from test group by type order by count(), type;
drop table test;
{% endfor -%}

View File

@ -1,4 +1,4 @@
-- Tags: long
-- Tags: long, no-tsan, no-msan, no-ubsan, no-asan
set allow_experimental_variant_type = 1;
set use_variant_as_common_type = 1;

View File

@ -1,4 +1,4 @@
-- Tags: long
-- Tags: long, no-tsan, no-msan, no-ubsan, no-asan
set allow_experimental_variant_type = 1;
set use_variant_as_common_type = 1;