[ https://issues.apache.org/jira/browse/CALCITE-6904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17937240#comment-17937240 ]
Mihai Budiu commented on CALCITE-6904: -------------------------------------- I don't really understand this problem, can you provide a test case to illustrate what is going wrong? > IS_NOT_DISTINCT_FROM is converted error in ElementerableJoinRule > ---------------------------------------------------------------- > > Key: CALCITE-6904 > URL: https://issues.apache.org/jira/browse/CALCITE-6904 > Project: Calcite > Issue Type: Bug > Reporter: Zhen Chen > Priority: Major > > The convert() method of ElementerableJoinRule incorrectly converts the > condition of IS_NOT_DISTINCT_FROM , which is considered an equivalence > condition in calcite and carries a `filterNulls` to save whether to perform > equivalence processing on NULL. However, when converting to > ElementerableJoin, the filterNulls are ignored, resulting in > `IS_NOT_DISTINCT_FROM ($0, $1)` being converted to `=($0, $1)`. -- This message was sent by Atlassian Jira (v8.20.10#820010)