You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Andrei Sereda (JIRA)" <ji...@apache.org> on 2018/09/20 04:12:00 UTC

[jira] [Created] (CALCITE-2578) Support ANY_VALUE Aggregate Function in ElasticSearch Adapter

Andrei Sereda created CALCITE-2578:
--------------------------------------

             Summary: Support ANY_VALUE Aggregate Function in ElasticSearch Adapter
                 Key: CALCITE-2578
                 URL: https://issues.apache.org/jira/browse/CALCITE-2578
             Project: Calcite
          Issue Type: Improvement
          Components: elasticsearch-adapter
            Reporter: Andrei Sereda
            Assignee: Julian Hyde


Sometimes it is useful to return a single value from a multi-set (bucket).

{code:sql}
SELECT foo, ANY_VALUE(bar) FROM elastic GROUP BY foo
{code}




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