You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by we...@apache.org on 2023/03/12 15:37:51 UTC
[doris] 02/02: change quantile column to NOT NULL
This is an automated email from the ASF dual-hosted git repository.
weixiang pushed a commit to branch quantile_state_vec
in repository https://gitbox.apache.org/repos/asf/doris.git
commit e73a0805553e01f83b5620e45e478ad7d1e475a9
Author: spaces-x <we...@meituan.com>
AuthorDate: Sun Mar 12 23:06:40 2023 +0800
change quantile column to NOT NULL
---
regression-test/common/table/quantile_state_basic_agg.sql | 2 +-
.../aggregate_functions/test_aggregate_all_functions.groovy | 2 +-
.../aggregate_functions/test_aggregate_all_functions.groovy | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/regression-test/common/table/quantile_state_basic_agg.sql b/regression-test/common/table/quantile_state_basic_agg.sql
index 41d3661119..7e71b37e4e 100644
--- a/regression-test/common/table/quantile_state_basic_agg.sql
+++ b/regression-test/common/table/quantile_state_basic_agg.sql
@@ -1,6 +1,6 @@
create TABLE if not exists `quantile_state_basic_agg` (
`k1` int(11) NULL,
- `k2` QUANTILE_STATE QUANTILE_UNION NULL
+ `k2` QUANTILE_STATE QUANTILE_UNION NOT NULL
)AGGREGATE KEY(`k1`)
DISTRIBUTED BY HASH(`k1`) BUCKETS 1
PROPERTIES("replication_num" = "1");
diff --git a/regression-test/suites/nereids_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy b/regression-test/suites/nereids_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy
index 41b4ada520..e3cb44e2c0 100644
--- a/regression-test/suites/nereids_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy
+++ b/regression-test/suites/nereids_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy
@@ -507,7 +507,7 @@ suite("test_aggregate_all_functions") {
CREATE TABLE IF NOT EXISTS ${tableName_21} (
`dt` int(11) NULL COMMENT "",
`id` int(11) NULL COMMENT "",
- `price` quantile_state QUANTILE_UNION NULL COMMENT ""
+ `price` quantile_state QUANTILE_UNION NOT NULL COMMENT ""
) ENGINE=OLAP
AGGREGATE KEY(`dt`, `id`)
COMMENT "OLAP"
diff --git a/regression-test/suites/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy b/regression-test/suites/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy
index aee6a6dd17..973ea22dff 100644
--- a/regression-test/suites/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy
+++ b/regression-test/suites/query_p0/sql_functions/aggregate_functions/test_aggregate_all_functions.groovy
@@ -504,7 +504,7 @@ suite("test_aggregate_all_functions") {
CREATE TABLE IF NOT EXISTS ${tableName_21} (
`dt` int(11) NULL COMMENT "",
`id` int(11) NULL COMMENT "",
- `price` quantile_state QUANTILE_UNION NULL COMMENT ""
+ `price` quantile_state QUANTILE_UNION NOT NULL COMMENT ""
) ENGINE=OLAP
AGGREGATE KEY(`dt`, `id`)
COMMENT "OLAP"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org