[ https://issues.apache.org/jira/browse/CALCITE-6294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
hongyu guo updated CALCITE-6294: -------------------------------- Parent: CALCITE-6304 Issue Type: Sub-task (was: Bug) > Support IN filter in arrow adapter > ---------------------------------- > > Key: CALCITE-6294 > URL: https://issues.apache.org/jira/browse/CALCITE-6294 > Project: Calcite > Issue Type: Sub-task > Reporter: hongyu guo > Priority: Major > > For example: > {code:java} > select "intField", "stringField" > from arrowdata > where "intField" in (0, 1, 2) > {code} > will throw an exception > {code:java} > java.lang.AssertionError: cannot translate OR(=($0, 0), =($0, 1), =($0, 2)) > at > org.apache.calcite.adapter.arrow.ArrowTranslator.translateMatch(ArrowTranslator.java:70) > at > org.apache.calcite.adapter.arrow.ArrowTranslator.translateAnd(ArrowTranslator.java:109) > 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} > See > org.apache.calcite.adapter.arrow.ArrowAdapterTest#testArrowProjectFieldsWithInFilter -- This message was sent by Atlassian Jira (v8.20.10#820010)