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

Support NOT Operator in ElasticSearch Adapter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.18.0
    • Component/s: elasticsearch-adapter
    • Labels:
      None

      Description

      NOT boolean expressions should be correctly processed by Calcite (ES adapter):

      select * from elastic where not foo = 1
      select * from elastic where not foo in (1, 2, 3)
      select * from elastic where foo not in (1, 2, 3)
      select * from elastic where not (foo in (1, 2, 3) and bar in (42, 43, 44))
      

      In elastic, they're converted to must_not BoolQuery.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                sereda Andrei Sereda
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: