[ https://issues.apache.org/jira/browse/CALCITE-6293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17823987#comment-17823987 ]
hongyu guo commented on CALCITE-6293: ------------------------------------- Thanks for the explanation, [~asolimando]. I will now add some descriptions for all the tickets I have created. > Support OR condition in arrow adapter > ------------------------------------- > > Key: CALCITE-6293 > URL: https://issues.apache.org/jira/browse/CALCITE-6293 > Project: Calcite > Issue Type: Sub-task > Reporter: hongyu guo > Priority: Major > > For example > {code:java} > String sql = "select \"intField\", \"stringField\"\n" > + "from arrowdata\n" > + "where \"intField\"=12 or \"stringField\"='12'"; {code} > will throw an exception: > {code:java} > java.lang.AssertionError: cannot translate OR(=($0, 12), =($1, '12')) > at > org.apache.calcite.adapter.arrow.ArrowTranslator.translateMatch(ArrowTranslator.java:70) > 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)