This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 4615b0c5b65e60ce2ff9206062d9db478b44b033
Author: Jerry Hu <mrh...@gmail.com>
AuthorDate: Thu Sep 7 20:14:07 2023 +0800

    [fix](regression) create table failed in 'map_agg' (#24030)
    
    Co-authored-by: yiguolei <676222...@qq.com>
---
 regression-test/suites/query_p0/aggregate/map_agg.groovy | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/regression-test/suites/query_p0/aggregate/map_agg.groovy 
b/regression-test/suites/query_p0/aggregate/map_agg.groovy
index a29ee5003f..ae165cc64a 100644
--- a/regression-test/suites/query_p0/aggregate/map_agg.groovy
+++ b/regression-test/suites/query_p0/aggregate/map_agg.groovy
@@ -18,7 +18,7 @@
 suite("map_agg") {
     sql "DROP TABLE IF EXISTS `test_map_agg`;"
     sql """
-        CREATE TABLE `test_map_agg` (
+        CREATE TABLE IF NOT EXISTS `test_map_agg` (
             `id` int(11) NOT NULL,
             `label_name` varchar(32) NOT NULL,
             `value_field` string
@@ -56,7 +56,7 @@ suite("map_agg") {
 
     sql "DROP TABLE IF EXISTS test_map_agg_nullable;"
     sql """
-        CREATE TABLE `test_map_agg_nullable` (
+        CREATE TABLE IF NOT EXISTS `test_map_agg_nullable` (
              `id` int(11) NOT NULL,
              `label_name` varchar(32) NULL,
              `value_field` string
@@ -91,9 +91,9 @@ suite("map_agg") {
             (5, "LC", "V5_3");
      """
 
-    sql "DROP TABLE IF EXISTS `test_map_agg_string_key`;"
+    sql "DROP TABLE IF EXISTS `test_map_agg_numeric_key`;"
     sql """
-        CREATE TABLE `test_map_agg_numeric_key` (
+        CREATE TABLE IF NOT EXISTS `test_map_agg_numeric_key` (
             `id` int(11) NOT NULL,
             `label_name` bigint NOT NULL,
             `value_field` string
@@ -131,7 +131,7 @@ suite("map_agg") {
 
     sql "DROP TABLE IF EXISTS `test_map_agg_decimal`;"
     sql """
-         CREATE TABLE `test_map_agg_decimal` (
+         CREATE TABLE IF NOT EXISTS `test_map_agg_decimal` (
              `id` int(11) NOT NULL,
              `label_name` string NOT NULL,
              `value_field` decimal(15,4)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to