korlov42 commented on a change in pull request #9581:
URL: https://github.com/apache/ignite/pull/9581#discussion_r761803412
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/PlannerHelper.java
##########
@@ -147,7 +147,10 @@ public static IgniteRel optimize(SqlNode sqlNode,
IgnitePlanner planner, IgniteL
if (rel.isDelete())
return rel;
- processNode(rel);
+ if (rel.isMerge()) // MERGE operator always contains modified
table as a source.
Review comment:
Yes, looks like you are right. The only way is to extend the
LogicalModifyNode, but I don't sure it worth the deal.
--
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]