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 2019/01/02 19:40:00 UTC

[jira] [Commented] (CALCITE-2755) expose document _id field when querying ElasticSearch

    [ https://issues.apache.org/jira/browse/CALCITE-2755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16732363#comment-16732363 ] 

Andrei Sereda commented on CALCITE-2755:
----------------------------------------

Closed as part of  [3dee82dd782|https://gitbox.apache.org/repos/asf?p=calcite.git;a=commit;h=3dee82dd7825f4c09dca27a312f9f82a8d6b899d]

> expose document _id field when querying ElasticSearch
> -----------------------------------------------------
>
>                 Key: CALCITE-2755
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2755
>             Project: Calcite
>          Issue Type: Improvement
>          Components: elasticsearch-adapter
>            Reporter: Andrei Sereda
>            Assignee: Julian Hyde
>            Priority: Major
>              Labels: pull-request-available
>
> Elastic exposes [_id|https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-id-field.html] field for each document (think unique doc ID).
> Expose if it is explicitly listed in projection: 
> {code:sql}
> select _MAP['_id'], _MAP['foo'] from elastic -- available
> select * from elastic -- not available
> {code}



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