From 022ab838670a5bfa58764168978c24ae86e20f42 Mon Sep 17 00:00:00 2001 From: seawinde Date: Mon, 25 Dec 2023 19:14:29 +0800 Subject: [PATCH] make filed not null to create partition mv --- .../mtmv_p0/test_partition_refresh_mtmv.groovy | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/regression-test/suites/mtmv_p0/test_partition_refresh_mtmv.groovy b/regression-test/suites/mtmv_p0/test_partition_refresh_mtmv.groovy index 8688cb00b6857c..f2a55d43472d38 100644 --- a/regression-test/suites/mtmv_p0/test_partition_refresh_mtmv.groovy +++ b/regression-test/suites/mtmv_p0/test_partition_refresh_mtmv.groovy @@ -30,7 +30,7 @@ suite("test_partition_refresh_mtmv") { CREATE TABLE `${tableNameNum}` ( `user_id` LARGEINT NOT NULL COMMENT '\"用户id\"', `date` DATE NOT NULL COMMENT '\"数据灌入日期时间\"', - `num` SMALLINT NULL COMMENT '\"数量\"' + `num` SMALLINT NOT NULL COMMENT '\"数量\"' ) ENGINE=OLAP DUPLICATE KEY(`user_id`, `date`, `num`) COMMENT 'OLAP' @@ -64,7 +64,7 @@ suite("test_partition_refresh_mtmv") { CREATE TABLE `${tableNameNum}` ( `user_id` LARGEINT NOT NULL COMMENT '\"用户id\"', `date` DATE NOT NULL COMMENT '\"数据灌入日期时间\"', - `num` SMALLINT NULL COMMENT '\"数量\"' + `num` SMALLINT NOT NULL COMMENT '\"数量\"' ) ENGINE=OLAP DUPLICATE KEY(`user_id`, `date`, `num`) COMMENT 'OLAP' @@ -98,7 +98,7 @@ suite("test_partition_refresh_mtmv") { CREATE TABLE `${tableNameNum}` ( `user_id` LARGEINT NOT NULL COMMENT '\"用户id\"', `date` DATE NOT NULL COMMENT '\"数据灌入日期时间\"', - `num` SMALLINT NULL COMMENT '\"数量\"' + `num` SMALLINT NOT NULL COMMENT '\"数量\"' ) ENGINE=OLAP DUPLICATE KEY(`user_id`, `date`, `num`) COMMENT 'OLAP' @@ -144,7 +144,7 @@ suite("test_partition_refresh_mtmv") { CREATE TABLE `${tableNameNum}` ( `user_id` LARGEINT NOT NULL COMMENT '\"用户id\"', `date` DATE NOT NULL COMMENT '\"数据灌入日期时间\"', - `num` SMALLINT NULL COMMENT '\"数量\"' + `num` SMALLINT NOT NULL COMMENT '\"数量\"' ) ENGINE=OLAP DUPLICATE KEY(`user_id`, `date`, `num`) COMMENT 'OLAP' @@ -236,7 +236,7 @@ suite("test_partition_refresh_mtmv") { CREATE TABLE `${tableNameNum}` ( `user_id` LARGEINT NOT NULL COMMENT '\"用户id\"', `date` DATE NOT NULL COMMENT '\"数据灌入日期时间\"', - `num` SMALLINT NULL COMMENT '\"数量\"' + `num` SMALLINT NOT NULL COMMENT '\"数量\"' ) ENGINE=OLAP DUPLICATE KEY(`user_id`, `date`, `num`) COMMENT 'OLAP' @@ -337,7 +337,7 @@ suite("test_partition_refresh_mtmv") { CREATE TABLE `${tableNameNum}` ( `user_id` LARGEINT NOT NULL COMMENT '\"用户id\"', `date` DATE NOT NULL COMMENT '\"数据灌入日期时间\"', - `num` SMALLINT NULL COMMENT '\"数量\"' + `num` SMALLINT NOT NULL COMMENT '\"数量\"' ) ENGINE=OLAP DUPLICATE KEY(`user_id`, `date`, `num`) COMMENT 'OLAP'