XMLWordPrintableJSON

Details

    • Sub-task
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • None
    • None
    • arrow-adapter
    • None

    Description

      For example

      String sql = "select \"intField\", \"stringField\"\n"
          + "from arrowdata\n"
          + "where \"intField\"=12 or \"stringField\"='12'"; 

      will throw an exception:

      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)
      

      Attachments

        Activity

          People

            timgrein Tim Grein
            hongyuguo hongyu guo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: