test: cover the partition tail in change_col_type sqlness case

Signed-off-by: fengyue-xve <1759519137@qq.com>
This commit is contained in:
风月
2026-10-10 09:16:48 +08:00
committed by fengyue-xve
parent f4646903b2
commit 0d7f178855
2 changed files with 4 additions and 2 deletions
@@ -393,7 +393,8 @@ Affected Rows: 0
CREATE TABLE ts_bound_overflow (host STRING, ts TIMESTAMP TIME INDEX)
PARTITION ON COLUMNS (ts) (
ts < '2024-01-01 00:00:00',
ts >= '2024-01-01 00:00:00' AND ts < '3000-01-01 00:00:00'
ts >= '2024-01-01 00:00:00' AND ts < '3000-01-01 00:00:00',
ts >= '3000-01-01 00:00:00'
);
Affected Rows: 0
@@ -143,7 +143,8 @@ DROP TABLE ts_overflow;
CREATE TABLE ts_bound_overflow (host STRING, ts TIMESTAMP TIME INDEX)
PARTITION ON COLUMNS (ts) (
ts < '2024-01-01 00:00:00',
ts >= '2024-01-01 00:00:00' AND ts < '3000-01-01 00:00:00'
ts >= '2024-01-01 00:00:00' AND ts < '3000-01-01 00:00:00',
ts >= '3000-01-01 00:00:00'
);
INSERT INTO ts_bound_overflow VALUES ("a", "2024-06-01 12:00:00");