Skip to content

Commit e26f244

Browse files
keanji-xzclllyybb
andauthored
[opt](Nereids): disable PRUNE_EMPTY_PARTITION rule in SqlTestBase.java apache#38246 (apache#38455)
## Proposed changes apache#38246 Co-authored-by: zclllhhjj <[email protected]>
1 parent 3b234cf commit e26f244

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/JoinOrderJobTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ protected void test64TableJoin() {
149149
@Disabled
150150
@Test
151151
void test64CliqueJoin() {
152+
connectContext.getSessionVariable().joinReorderTimeLimit = 10000000;
152153
HyperGraphBuilder hyperGraphBuilder = new HyperGraphBuilder(Sets.newHashSet(JoinType.INNER_JOIN));
153154
Plan plan = hyperGraphBuilder
154155
.randomBuildPlanWith(64, 64 * 63 / 2);

fe/fe-core/src/test/java/org/apache/doris/nereids/sqltest/SqlTestBase.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ protected void runBeforeAll() throws Exception {
9797
@Override
9898
protected void runBeforeEach() throws Exception {
9999
StatementScopeIdGenerator.clear();
100+
connectContext.getSessionVariable().setDisableNereidsRules("PRUNE_EMPTY_PARTITION");
100101
}
101102

102103
protected LogicalCompatibilityContext constructContext(Plan p1, Plan p2, CascadesContext context) {

0 commit comments

Comments
 (0)