You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Michael Mior (JIRA)" <ji...@apache.org> on 2019/01/01 18:44:00 UTC

[jira] [Created] (CALCITE-2760) Elasticsearch adapter can't sort on umapped fields

Michael Mior created CALCITE-2760:
-------------------------------------

             Summary: Elasticsearch adapter can't sort on umapped fields
                 Key: CALCITE-2760
                 URL: https://issues.apache.org/jira/browse/CALCITE-2760
             Project: Calcite
          Issue Type: Bug
          Components: elasticsearch-adapter
    Affects Versions: 1.17.0
            Reporter: Michael Mior
            Assignee: Julian Hyde


When trying to sort on unmapped fields, the adapter throws an exception. It seems like {{ElasticsearchSortRule}} should check if the field is mapped before it is applied so the sort can be performed by Calcite if Elasticsearch can't do it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)