Skip to content

Commit c1a8405

Browse files
xyliganSerejaMatveev Sergei
andauthored
update test (#28453)
Co-authored-by: Matveev Sergei <xyligansereja@yandex-team.ru>
1 parent 27b8fe5 commit c1a8405

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ydb/tests/olap/ttl_tiering/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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,

ydb/tests/olap/ttl_tiering/data_correctness.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)