Skip to content

Commit fc19ce3

Browse files
committed
fix tiered storage
1 parent 3813f76 commit fc19ce3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tiered_storage/tests/ttl_moves/syntax.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ def scenario(self, name, engine):
171171
)
172172

173173
with When("TTL expressions with non-date type"):
174-
175-
if check_clickhouse_version(">=25.6")(self) or check_clickhouse_version(
176-
"==24.8.14.10501.altinitystable"
177-
)(self):
174+
if check_clickhouse_version(">=25.6")(self) or (
175+
check_clickhouse_version(">=24.8")(self)
176+
and check_is_altinity_build(node)
177+
):
178178
message = "DB::Exception: TTL expression result column should have Date, Date32, DateTime or DateTime64 type, but has String"
179179
else:
180180
message = "Exception: TTL expression result column should have DateTime or Date type, but has String"

0 commit comments

Comments
 (0)