This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 81f43a13abc [fix](Outfile) forbid parallel outfile if pipeline engine
enabled. (#43439)
81f43a13abc is described below
commit 81f43a13abc9b67d5de7a993aa0fb77eeec47fd9
Author: Tiewei Fang <[email protected]>
AuthorDate: Mon Nov 11 20:25:18 2024 +0800
[fix](Outfile) forbid parallel outfile if pipeline engine enabled. (#43439)
cherry-pick #43437
---
.../java/org/apache/doris/planner/OriginalPlanner.java | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/planner/OriginalPlanner.java
b/fe/fe-core/src/main/java/org/apache/doris/planner/OriginalPlanner.java
index a4d5762841f..a4c629333b0 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/OriginalPlanner.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/OriginalPlanner.java
@@ -349,16 +349,11 @@ public class OriginalPlanner extends Planner {
* 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);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]