From b377ab65d9e43d24772e5b43c6b3c2e2776497bf Mon Sep 17 00:00:00 2001 From: minghong Date: Wed, 4 Dec 2024 18:33:06 +0800 Subject: [PATCH] fe ut --- .../org/apache/doris/nereids/rules/analysis/AnalyzeCTETest.java | 1 + .../nereids/rules/exploration/mv/MaterializedViewUtilsTest.java | 1 + 2 files changed, 2 insertions(+) diff --git a/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/analysis/AnalyzeCTETest.java b/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/analysis/AnalyzeCTETest.java index a91c0dd47126fcf..288208bb3f52b8b 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/analysis/AnalyzeCTETest.java +++ b/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/analysis/AnalyzeCTETest.java @@ -101,6 +101,7 @@ protected void runBeforeAll() throws Exception { SSBUtils.createTables(this); createView("CREATE VIEW V1 AS SELECT * FROM part"); createView("CREATE VIEW V2 AS SELECT * FROM part"); + connectContext.getSessionVariable().enableCompressMaterialize=false; } @Override diff --git a/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewUtilsTest.java b/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewUtilsTest.java index f824a40eda64746..283c5225c393e17 100644 --- a/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewUtilsTest.java +++ b/fe/fe-core/src/test/java/org/apache/doris/nereids/rules/exploration/mv/MaterializedViewUtilsTest.java @@ -249,6 +249,7 @@ protected void runBeforeAll() throws Exception { + ");\n"); // Should not make scan to empty relation when the table used by materialized view has no data connectContext.getSessionVariable().setDisableNereidsRules("OLAP_SCAN_PARTITION_PRUNE,PRUNE_EMPTY_PARTITION"); + connectContext.getSessionVariable().enableCompressMaterialize=false; } // Test when join both side are all partition table and partition column name is same