From 0d7f178855eb966d8dedff611dcfe434e9d56624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E6=9C=88?= <1759519137@qq.com> Date: Sat, 10 Oct 2026 09:16:48 +0800 Subject: [PATCH] test: cover the partition tail in change_col_type sqlness case Signed-off-by: fengyue-xve <1759519137@qq.com> --- tests/cases/standalone/common/alter/change_col_type.result | 3 ++- tests/cases/standalone/common/alter/change_col_type.sql | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/cases/standalone/common/alter/change_col_type.result b/tests/cases/standalone/common/alter/change_col_type.result index 176addacd6d..8a1e2a78f58 100644 --- a/tests/cases/standalone/common/alter/change_col_type.result +++ b/tests/cases/standalone/common/alter/change_col_type.result @@ -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 diff --git a/tests/cases/standalone/common/alter/change_col_type.sql b/tests/cases/standalone/common/alter/change_col_type.sql index 738794b4b85..c7d206eaf7c 100644 --- a/tests/cases/standalone/common/alter/change_col_type.sql +++ b/tests/cases/standalone/common/alter/change_col_type.sql @@ -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");