This is an automated email from the ASF dual-hosted git repository.
gabriellee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new ceaca626324 [fix](set) Fix correctness caused by set operation (#59589)
ceaca626324 is described below
commit ceaca626324f876e3e7f2c0be0bc6d7200d146c3
Author: Gabriel <[email protected]>
AuthorDate: Wed Jan 7 09:46:36 2026 +0800
[fix](set) Fix correctness caused by set operation (#59589)
Set operation(intersect/except) should be a shuffled operator if it is
not a colocate operator.
---
be/src/pipeline/pipeline_fragment_context.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/pipeline/pipeline_fragment_context.cpp
b/be/src/pipeline/pipeline_fragment_context.cpp
index 58ceb2c44c2..f84e8a0c346 100644
--- a/be/src/pipeline/pipeline_fragment_context.cpp
+++ b/be/src/pipeline/pipeline_fragment_context.cpp
@@ -1596,14 +1596,14 @@ Status
PipelineFragmentContext::_create_operator(ObjectPool* pool, const TPlanNo
case TPlanNodeType::INTERSECT_NODE: {
RETURN_IF_ERROR(_build_operators_for_set_operation_node<true>(
pool, tnode, descs, op, cur_pipe, parent_idx, child_idx,
- followed_by_shuffled_operator));
+ !tnode.intersect_node.is_colocate));
_require_bucket_distribution = tnode.intersect_node.is_colocate;
break;
}
case TPlanNodeType::EXCEPT_NODE: {
RETURN_IF_ERROR(_build_operators_for_set_operation_node<false>(
pool, tnode, descs, op, cur_pipe, parent_idx, child_idx,
- followed_by_shuffled_operator));
+ !tnode.except_node.is_colocate));
_require_bucket_distribution = tnode.except_node.is_colocate;
break;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]