You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2023/04/21 12:54:54 UTC

[doris] branch branch-2.0-alpha updated: fix map delete enable (#18905)

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

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


The following commit(s) were added to refs/heads/branch-2.0-alpha by this push:
     new 623b927e11 fix map delete enable (#18905)
623b927e11 is described below

commit 623b927e11c434331d2de499ea1dc367bdc9fb47
Author: amory <wa...@selectdb.com>
AuthorDate: Fri Apr 21 20:54:47 2023 +0800

    fix map delete enable (#18905)
---
 regression-test/suites/delete_p0/test_map_column_delete.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/regression-test/suites/delete_p0/test_map_column_delete.groovy b/regression-test/suites/delete_p0/test_map_column_delete.groovy
index 47d98181d6..129bf0a6cc 100644
--- a/regression-test/suites/delete_p0/test_map_column_delete.groovy
+++ b/regression-test/suites/delete_p0/test_map_column_delete.groovy
@@ -19,7 +19,7 @@ suite("test_map_column_delete") {
     def tableName = "test_map_column_delete"
 
     sql """ DROP TABLE IF EXISTS ${tableName}; """
-    sql "ADMIN SET FRONTEND CONFIG ('enable_struct_type' = 'true')"
+    sql "ADMIN SET FRONTEND CONFIG ('enable_map_type' = 'true')"
     sql """ CREATE TABLE IF NOT EXISTS ${tableName} (id INT NULL, m_map MAP<INT, VARCHAR(30)> NULL) ENGINE=OLAP DUPLICATE KEY(id) DISTRIBUTED BY HASH(id) BUCKETS 4 PROPERTIES ( "replication_allocation" = "tag.location.default: 1","in_memory" = "false","storage_format" = "V2") """
     sql """ insert into ${tableName} values(1, {1:'a', 2:"doris"}),(2,{}),(3,NULL),(4,NULL),(5,NULL) """
     sql """ DELETE FROM ${tableName} WHERE m_map is NULL """


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