JackieTien97 commented on code in PR #17652:
URL: https://github.com/apache/iotdb/pull/17652#discussion_r3238509018
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/distribution/ExchangeNodeAdder.java:
##########
@@ -237,6 +241,10 @@ public PlanNode visitSingleDeviceView(SingleDeviceViewNode
node, NodeGroupContex
@Override
public PlanNode visitMergeSort(MergeSortNode node, NodeGroupContext context)
{
+ // Force Exchange if any child subtree contains InnerTimeJoin.
+ if (hasInnerTimeJoinInSubtree(node.getChildren())) {
Review Comment:
melt this judgement into previous DFS visit process
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]