[ https://issues.apache.org/jira/browse/CALCITE-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
hongyu guo updated CALCITE-6296: -------------------------------- Description: {code:sql} select "intField", "stringField" from arrowdata where "intField" is null {code} will throw an exception {code:java} java.lang.AssertionError: cannot translate IS NULL($0) at org.apache.calcite.adapter.arrow.ArrowTranslator.translateMatch2(ArrowTranslator.java:131) at org.apache.calcite.adapter.arrow.ArrowTranslator.translateAnd(ArrowTranslator.java:111) at org.apache.calcite.adapter.arrow.ArrowTranslator.translateMatch(ArrowTranslator.java:68) at org.apache.calcite.adapter.arrow.ArrowFilter.<init>(ArrowFilter.java:43) at org.apache.calcite.adapter.arrow.ArrowRules$ArrowFilterRule.convert(ArrowRules.java:97) at org.apache.calcite.adapter.arrow.ArrowRules$ArrowFilterRule.onMatch(ArrowRules.java:87) {code} > Support IS NULL in arrow adapter > -------------------------------- > > Key: CALCITE-6296 > URL: https://issues.apache.org/jira/browse/CALCITE-6296 > Project: Calcite > Issue Type: Sub-task > Reporter: hongyu guo > Priority: Major > > {code:sql} > select "intField", "stringField" > from arrowdata > where "intField" is null > {code} > will throw an exception > {code:java} > java.lang.AssertionError: cannot translate IS NULL($0) > at > org.apache.calcite.adapter.arrow.ArrowTranslator.translateMatch2(ArrowTranslator.java:131) > at > org.apache.calcite.adapter.arrow.ArrowTranslator.translateAnd(ArrowTranslator.java:111) > at > org.apache.calcite.adapter.arrow.ArrowTranslator.translateMatch(ArrowTranslator.java:68) > at > org.apache.calcite.adapter.arrow.ArrowFilter.<init>(ArrowFilter.java:43) > at > org.apache.calcite.adapter.arrow.ArrowRules$ArrowFilterRule.convert(ArrowRules.java:97) > at > org.apache.calcite.adapter.arrow.ArrowRules$ArrowFilterRule.onMatch(ArrowRules.java:87) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)