calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Sereda (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CALCITE-3054) ElasticSearch adapter. Avoid scripting for simple projections
Date Wed, 08 May 2019 05:18:00 GMT
Andrei Sereda created CALCITE-3054:
--------------------------------------

             Summary: ElasticSearch adapter. Avoid scripting for simple projections
                 Key: CALCITE-3054
                 URL: https://issues.apache.org/jira/browse/CALCITE-3054
             Project: Calcite
          Issue Type: Bug
          Components: elasticsearch-adapter
    Affects Versions: 1.19.0
            Reporter: Andrei Sereda
            Assignee: Andrei Sereda


No [scripting|https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html]
should be used for simple field projection(s).

In some cases elastic adapter uses {{script_fields}} instead of {{_source}} for simple field
projections.

{code:sql}
select  _MAP['a'], _MAP['b.a'] from elastic
{code}



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

Mime
View raw message