[ https://issues.apache.org/jira/browse/CALCITE-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Sereda resolved CALCITE-3054. ------------------------------------ Resolution: Fixed Fixed in [c20af344bf|https://github.com/apache/calcite/pull/1200/commits/c20af344bfe9a4da41f5556f2896208043d3d718] > 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 > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > 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}} 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)