Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BePPPower committed Nov 7, 2024
1 parent d1867fe commit e9dae54
Showing 1 changed file with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,16 +349,11 @@ private PlanNode addUnassignedConjuncts(Analyzer analyzer, PlanNode root)
* The top plan fragment will only summarize the status of the exported result set and return it to fe.
*/
private void pushDownResultFileSink(Analyzer analyzer) {
if (fragments.size() < 1) {
return;
}
if (!(fragments.get(0).getSink() instanceof ResultFileSink)) {
return;
}
if (!ConnectContext.get().getSessionVariable().isEnableParallelOutfile()) {
return;
}
if (!(fragments.get(0).getPlanRoot() instanceof ExchangeNode)) {
if (!ConnectContext.get().getSessionVariable().isEnableParallelOutfile()
|| ConnectContext.get().getSessionVariable().getEnablePipelineEngine()
|| fragments.size() < 1
|| !(fragments.get(0).getPlanRoot() instanceof ExchangeNode)
|| !(fragments.get(0).getSink() instanceof ResultFileSink)) {
return;
}
PlanFragment topPlanFragment = fragments.get(0);
Expand Down

0 comments on commit e9dae54

Please sign in to comment.