This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 89a553264ff [fix](regression) fix some analyzer error check failed
(#36020)
89a553264ff is described below
commit 89a553264ff520402d073d74df38a5a036080836
Author: feiniaofeiafei <[email protected]>
AuthorDate: Fri Jun 7 15:34:24 2024 +0800
[fix](regression) fix some analyzer error check failed (#36020)
Co-authored-by: moailing <[email protected]>
---
.../suites/datatype_p0/agg_state/max/test_agg_state_max.groovy | 2 +-
regression-test/suites/query_p0/grouping_sets/test_grouping_sets.groovy | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/regression-test/suites/datatype_p0/agg_state/max/test_agg_state_max.groovy
b/regression-test/suites/datatype_p0/agg_state/max/test_agg_state_max.groovy
index 4b8f07284ee..0e650d31229 100644
--- a/regression-test/suites/datatype_p0/agg_state/max/test_agg_state_max.groovy
+++ b/regression-test/suites/datatype_p0/agg_state/max/test_agg_state_max.groovy
@@ -30,7 +30,7 @@ suite("test_agg_state_max") {
test {
sql "insert into a_table values(100,max_state(null));"
- exception "can not cast from origin type AGG_STATE<max(NULL_TYPE
NULL)> to target type=AGG_STATE<max(INT)>"
+ exception "There's NULL value in column Nullable(Int32) which is
illegal for non_nullable"
}
sql """insert into a_table
diff --git
a/regression-test/suites/query_p0/grouping_sets/test_grouping_sets.groovy
b/regression-test/suites/query_p0/grouping_sets/test_grouping_sets.groovy
index 76a74760800..c7b20f542cd 100644
--- a/regression-test/suites/query_p0/grouping_sets/test_grouping_sets.groovy
+++ b/regression-test/suites/query_p0/grouping_sets/test_grouping_sets.groovy
@@ -149,7 +149,7 @@ suite("test_grouping_sets", "p0") {
qt_select20 """SELECT k1 ,GROUPING(k1) FROM test_query_db.test GROUP BY
CUBE (k1) ORDER BY k1"""
test {
sql "SELECT k1 ,GROUPING(k2) FROM test_query_db.test GROUP BY CUBE
(k1) ORDER BY k1"
- exception "Column in Grouping does not exist in GROUP BY clause"
+ exception "Column `k2` in GROUP_ID() does not exist in GROUP BY
clause."
}
// test grouping sets id contain null data
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]