Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
924060929 committed Jun 19, 2024
1 parent 9ea1de6 commit cbfb692
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public DistributedPlan withChildren(List<DistributedPlan> children) {

public abstract String toString(int displayFragmentId);

/** toString */
public static String toString(List<DistributedPlan> distributedPlansBottomToTop) {
StringBuilder distributedPlanStringBuilder = new StringBuilder();
int fragmentDisplayId = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public UnassignedGatherScanMultiRemoteTablesJob(PlanFragment fragment,
super(fragment, scanNodes, exchangeToChildJob);
}

/** canApply */
public static boolean canApply(List<ScanNode> scanNodes) {
if (scanNodes.size() <= 1) {
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ private boolean shouldFillUpInstances(List<HashJoinNode> hashJoinNodes) {
case RIGHT_SEMI_JOIN:
case RIGHT_ANTI_JOIN:
return true;
default:
}
}
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3064,8 +3064,8 @@ public static boolean canUseNereidsDistributePlanner() {
(LogicalPlanAdapter) connectContext.getStatementContext().getParsedStatement();
LogicalPlan logicalPlan = planAdapter.getLogicalPlan();
SessionVariable sessionVariable = connectContext.getSessionVariable();
if (logicalPlan instanceof UnboundResultSink &&
sessionVariable.enableNereidsDistributePlanner && sessionVariable.enablePipelineXEngine) {
if (logicalPlan instanceof UnboundResultSink
&& sessionVariable.enableNereidsDistributePlanner && sessionVariable.enablePipelineXEngine) {
return true;
}
return false;
Expand Down

0 comments on commit cbfb692

Please sign in to comment.