From 86c68f01c0d063a7d14e93c0af3111085222a1b7 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 45e1190412d0a4f..9b96ad3141a32d8 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,ELIMINATE_GROUP_BY_KEY_BY_UNIFORM"); + connectContext.getSessionVariable().enableCompressMaterialize=false; } // Test when join both side are all partition table and partition column name is same