mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-21 11:22:31 +00:00
test: cover the partition tail in change_col_type sqlness case
Signed-off-by: fengyue-xve <1759519137@qq.com>
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user