[
https://issues.apache.org/jira/browse/CALCITE-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16733432#comment-16733432
]
Michael Mior commented on CALCITE-2760:
---------------------------------------
Yes, I meant not present in the ES mapping. For example, in the current tests,
I was having issues sorting on "id"
> 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
> Priority: Major
>
> 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)