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 72b1e2a346c [fix](Outfile) forbid parallel outfile if pipeline engine
enabled. (#43437)
72b1e2a346c is described below
commit 72b1e2a346c75c891923f3f2d5e2797750713cdb
Author: Tiewei Fang <[email protected]>
AuthorDate: Sun Nov 10 18:29:08 2024 +0800
[fix](Outfile) forbid parallel outfile if pipeline engine enabled. (#43437)
Because pipeline engine doesn't implement parallel outfile, we should
forbid the parallel outfile if pipeline engine enabled.
---
.../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 a78209c2364..24433af00e2 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
@@ -358,16 +358,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]