You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrei Sereda (JIRA)" <ji...@apache.org> on 2018/11/20 23:49:00 UTC
[jira] [Created] (CALCITE-2689) ES Adapter. Grouping on date /
number fields fails
Andrei Sereda created CALCITE-2689:
--------------------------------------
Summary: ES Adapter. Grouping on date / number fields fails
Key: CALCITE-2689
URL: https://issues.apache.org/jira/browse/CALCITE-2689
Project: Calcite
Issue Type: Improvement
Components: elasticsearch-adapter
Reporter: Andrei Sereda
Assignee: Julian Hyde
For [Terms Aggregation|https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html] missing value has to have same type as group key.
Currently single (text) key is used {{__MISSING__}} which fails when grouping on non-string fields (eg. dates, numbers or booleans).
When using {{missing}} (value) query converter should consider field type.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)