Disable min_bytes_to_use_direct_io in some tests with Dynamic/JSON subcolumns because it's broken

This commit is contained in:
avogar 2024-08-20 20:00:23 +00:00
parent 696114ff1a
commit 539d04c90f
4 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,8 @@ set allow_experimental_variant_type = 1;
set use_variant_as_common_type = 1;
set allow_experimental_dynamic_type = 1;
set min_bytes_to_use_direct_io = 0; -- min_bytes_to_use_direct_io > 0 is broken
drop table if exists test;
create table test (id UInt64, d Dynamic(max_types=2)) engine=MergeTree order by id settings min_rows_for_wide_part=1, min_bytes_for_wide_part=1;

View File

@ -4,6 +4,8 @@ set allow_experimental_variant_type = 1;
set use_variant_as_common_type = 1;
set allow_experimental_dynamic_type = 1;
set min_bytes_to_use_direct_io = 0; -- min_bytes_to_use_direct_io > 0 is broken
drop table if exists test;
create table test (id UInt64, d Dynamic) engine=MergeTree order by id settings min_rows_for_wide_part=1, min_bytes_for_wide_part=1;

View File

@ -5,6 +5,8 @@ set allow_experimental_variant_type = 1;
set use_variant_as_common_type = 1;
set session_timezone = 'UTC';
set min_bytes_to_use_direct_io = 0; -- min_bytes_to_use_direct_io > 0 is broken
drop table if exists test;
create table test (id UInt64, json JSON(max_dynamic_paths=2, a.b.c UInt32)) engine=MergeTree order by id settings min_rows_for_wide_part=1, min_bytes_for_wide_part=1;

View File

@ -4,6 +4,8 @@ set allow_experimental_json_type = 1;
set allow_experimental_variant_type = 1;
set use_variant_as_common_type = 1;
set min_bytes_to_use_direct_io = 0; -- min_bytes_to_use_direct_io > 0 is broken
create table test (id UInt64, json JSON(max_dynamic_paths=8, a.b Array(JSON))) engine=MergeTree order by id settings min_rows_for_wide_part=1, min_bytes_for_wide_part=1;
insert into test select number, '{}' from numbers(10000);