From 9d8043e4c14ed82dcfcec2520171014615c50a07 Mon Sep 17 00:00:00 2001 From: mch_ucchi <41606806+sohardforaname@users.noreply.github.com> Date: Fri, 2 Jun 2023 10:33:11 +0800 Subject: [PATCH] [Fix](Nereids) should not gather data when sink (#20330) --- .../doris/nereids/glue/translator/PhysicalPlanTranslator.java | 2 +- .../suites/nereids_p0/insert_into_table/aggregate.groovy | 1 + .../suites/nereids_p0/insert_into_table/complex_insert.groovy | 1 + .../suites/nereids_p0/insert_into_table/duplicate.groovy | 1 + .../suites/nereids_p0/insert_into_table/no_partition.groovy | 1 + .../nereids_p0/insert_into_table/type_cast_aggregate.groovy | 1 + .../nereids_p0/insert_into_table/type_cast_duplicate.groovy | 1 + .../nereids_p0/insert_into_table/type_cast_unique.groovy | 1 + .../suites/nereids_p0/insert_into_table/unique.groovy | 1 + .../suites/nereids_p0/insert_into_table/unsupport_type.groovy | 4 ++-- 10 files changed, 11 insertions(+), 3 deletions(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java index 224b1763aa..c9f9543bf2 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java @@ -286,7 +286,7 @@ public class PhysicalPlanTranslator extends DefaultPlanVisitor is unsupported for Nereids' - exception null + exception 'type ARRAY is unsupported for Nereids' } sql 'set enable_fallback_to_original_planner=true'