Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6668

Arrow adapter should support IS FALSE Operator and IS TRUE Operator

    XMLWordPrintableJSON

Details

    Description

      Arrow adapter should support IS FALSE Operator and IS TRUE Operator

      Here is a simple example

          String sql = "select \"booleanField\"\n"
              + "from arrowdatatype\n"
              + "where \"booleanField\" is true";
      

      Its plan can be optimized to

          String plan = "PLAN=ArrowToEnumerableConverter\n"
              + "  ArrowProject(booleanField=[$7])\n"
              + "    ArrowFilter(condition=[$7])\n"
              + "      ArrowTableScan(table=[[ARROW, ARROWDATATYPE]], fields=[[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]])\n\n";
      

      Attachments

        Issue Links

          Activity

            People

              caicancai Caican Cai
              caicancai Caican Cai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: