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

In Elasticsearch adapter, support NULLS FIRST and NULLS LAST query

    XMLWordPrintableJSON

Details

    Description

      In Elasticsearch Adapter, The SQL:

      @Test void integerCat3() {
        CalciteAssert.that()
            .with(newConnectionFactory())
            .query("select cat1 from view order by cat1 nulls first")
            .returns("cat1=a\n" +
                "cat1=b\n" +
                "cat1=null\n");
      }
      

      NULLS FIRST don't handle.

      According  es_missing_values . We can add another parameter in the script to implement this.

      Attachments

        Issue Links

          Activity

            People

              VAE ZheHu
              nobigo xiong duan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 50m
                  5h 50m