From 8e5cf687efdbe09e93a8fd842fb27cf5be378d6d Mon Sep 17 00:00:00 2001 From: amorynan Date: Thu, 30 Nov 2023 11:50:28 +0800 Subject: [PATCH] fix case for truncate tb first --- ...ed_types_insert_into_with_dup_table.groovy | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/regression-test/suites/datatype_p0/nested_types/negative_cases/test_nested_types_insert_into_with_dup_table.groovy b/regression-test/suites/datatype_p0/nested_types/negative_cases/test_nested_types_insert_into_with_dup_table.groovy index f6ce940868db5f..f58e41078bf153 100644 --- a/regression-test/suites/datatype_p0/nested_types/negative_cases/test_nested_types_insert_into_with_dup_table.groovy +++ b/regression-test/suites/datatype_p0/nested_types/negative_cases/test_nested_types_insert_into_with_dup_table.groovy @@ -20,7 +20,27 @@ import org.codehaus.groovy.runtime.IOGroovyMethods suite("test_nested_types_insert_into_with_dup_table", "p0") { sql 'use regression_test_datatype_p0_nested_types' sql 'set enable_nereids_planner=false' - + + sql """ + truncate table `tbl_array_nested_types_dup`; + """ + + sql """ + truncate table `tbl_array_nested_types_dup2`; + """ + + sql """ + truncate table `tbl_map_types_dup`; + """ + + sql """ + truncate table `tbl_array_map_types_dup`; + """ + + sql """ + truncate table `tbl_map_array_types_dup`; + """ + // test action for scala to array with scala type // current we support char family to insert nested type test {