zstan commented on a change in pull request #8380:
URL: https://github.com/apache/ignite/pull/8380#discussion_r510919160
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/rule/logical/LogicalOrToUnionRule.java
##########
@@ -63,7 +61,7 @@ private LogicalOrToUnionRule(Class<LogicalFilter> clazz,
String desc) {
List<RexNode> operands = RelOptUtil.disjunctions(dnf);
- if (operands.size() != 2)
+ if (operands.size() != 2 ||
RexUtil.find(SqlKind.IS_NULL).anyContain(operands))
Review comment:
i suppose we don`t have any test for it ?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]