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 2024/07/31 06:34:42 UTC
(doris) branch branch-2.1 updated: [opt](Nereids): disable PRUNE_EMPTY_PARTITION rule in SqlTestBase.java #38246 (#38455)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new e26f2441bd2 [opt](Nereids): disable PRUNE_EMPTY_PARTITION rule in SqlTestBase.java #38246 (#38455)
e26f2441bd2 is described below
commit e26f2441bd2a7147ec4f4c62aa89a0f3ebb370f4
Author: 谢健 <ji...@gmail.com>
AuthorDate: Wed Jul 31 14:34:35 2024 +0800
[opt](Nereids): disable PRUNE_EMPTY_PARTITION rule in SqlTestBase.java #38246 (#38455)
## Proposed changes
#38246
Co-authored-by: zclllhhjj <zh...@selectdb.com>
---
.../src/test/java/org/apache/doris/nereids/sqltest/JoinOrderJobTest.java | 1 +
.../src/test/java/org/apache/doris/nereids/sqltest/SqlTestBase.java | 1 +
2 files changed, 2 insertions(+)
diff --git a/fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/JoinOrderJobTest.java b/fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/JoinOrderJobTest.java
index c6f41b9066b..41b1cb4e283 100644
--- a/fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/JoinOrderJobTest.java
+++ b/fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/JoinOrderJobTest.java
@@ -149,6 +149,7 @@ public class JoinOrderJobTest extends SqlTestBase {
@Disabled
@Test
void test64CliqueJoin() {
+ connectContext.getSessionVariable().joinReorderTimeLimit = 10000000;
HyperGraphBuilder hyperGraphBuilder = new HyperGraphBuilder(Sets.newHashSet(JoinType.INNER_JOIN));
Plan plan = hyperGraphBuilder
.randomBuildPlanWith(64, 64 * 63 / 2);
diff --git a/fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/SqlTestBase.java b/fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/SqlTestBase.java
index 78918b2ee1b..f5b301dcc49 100644
--- a/fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/SqlTestBase.java
+++ b/fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/SqlTestBase.java
@@ -97,6 +97,7 @@ public abstract class SqlTestBase extends TestWithFeService implements MemoPatte
@Override
protected void runBeforeEach() throws Exception {
StatementScopeIdGenerator.clear();
+ connectContext.getSessionVariable().setDisableNereidsRules("PRUNE_EMPTY_PARTITION");
}
protected LogicalCompatibilityContext constructContext(Plan p1, Plan p2, CascadesContext context) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org