This is an automated email from the ASF dual-hosted git repository.
924060929 pushed a commit to branch fe_local_shuffle
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/fe_local_shuffle by this push:
new 0d89fabfcfb [fix](local shuffle) Restore ExchangeNode.isSerialNode()
mergeInfo condition
0d89fabfcfb is described below
commit 0d89fabfcfbcde473af12fd0192c4ddc98f8ca54
Author: 924060929 <[email protected]>
AuthorDate: Wed Apr 22 12:30:58 2026 +0800
[fix](local shuffle) Restore ExchangeNode.isSerialNode() mergeInfo condition
ExchangeNode.isSerialNode() had mergeInfo != null (inverted from baseline's
mergeInfo == null). This caused UNPARTITIONED exchanges without mergeInfo
to be treated as non-serial, making UnassignedGatherJob skip local shuffle
and use only 1 instance instead of pptn instances. Result: 5-7x performance
regression on CROSS JOIN / NLJ queries in UNPARTITIONED fragments.
---
fe/fe-core/src/main/java/org/apache/doris/planner/ExchangeNode.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/planner/ExchangeNode.java
b/fe/fe-core/src/main/java/org/apache/doris/planner/ExchangeNode.java
index 698f996ef3c..0b58ff52852 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/ExchangeNode.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/ExchangeNode.java
@@ -156,7 +156,7 @@ public class ExchangeNode extends PlanNode {
@Override
public boolean isSerialNode() {
return (ConnectContext.get() != null &&
ConnectContext.get().getSessionVariable().isUseSerialExchange()
- || partitionType == TPartitionType.UNPARTITIONED) && mergeInfo
!= null;
+ || partitionType == TPartitionType.UNPARTITIONED) && mergeInfo
== null;
}
@Override
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]