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

Support NOT Operator in ElasticSearch Adapter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.18.0
    • elasticsearch-adapter
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: