File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
ydb/tests/olap/ttl_tiering Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ def _setup_ydb(cls):
4242 "enable_external_data_sources" : True ,
4343 "enable_write_portions_on_insert" : True ,
4444 "enable_tiering_in_column_shard" : True ,
45+ "enable_columnshard_bool" : True ,
4546 },
4647 column_shard_config = {
4748 "lag_for_compaction_before_tierings_ms" : 0 ,
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ def write_data(
3737 "ts" : timestamp_from_ms + i ,
3838 "s" : random .randbytes (1024 * 10 ),
3939 "val" : value ,
40+ "flag" : (i % 2 ) == 0 ,
4041 }
4142 for i in range (current_chunk_size )
4243 ]
@@ -94,6 +95,7 @@ def test(self):
9495 ts Timestamp NOT NULL,
9596 s String,
9697 val Uint64,
98+ flag Bool,
9799 PRIMARY KEY(ts),
98100 )
99101 WITH (
@@ -110,6 +112,7 @@ def test(self):
110112 self .column_types .add_column ("ts" , ydb .PrimitiveType .Timestamp )
111113 self .column_types .add_column ("s" , ydb .PrimitiveType .String )
112114 self .column_types .add_column ("val" , ydb .PrimitiveType .Uint64 )
115+ self .column_types .add_column ("flag" , ydb .PrimitiveType .Bool )
113116
114117 logger .info (f"Table { table_path } created" )
115118
You can’t perform that action at this time.
0 commit comments