[ 
https://issues.apache.org/jira/browse/FLINK-13858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

hubin updated FLINK-13858:
--------------------------
    Description: 
For example, syncing an order table sink to es6, order_id is primary key 
 `insert into es6_table select order_id, order_name from source_table`

However, the primary key in es6 is randomly generated, and the order_id cannot 
be used to find the record.

  was:
For example, syncing an order table sink to es6, order_id is primary key 
`insert into es6_table from select order_id, order_name from source_table`

However, the primary key in es6 is randomly generated, and the order_id cannot 
be used to find the record.


> Add flink-connector-elasticsearch6 Specify the field as the primary key id
> --------------------------------------------------------------------------
>
>                 Key: FLINK-13858
>                 URL: https://issues.apache.org/jira/browse/FLINK-13858
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / ElasticSearch
>    Affects Versions: 1.6.3, 1.6.4, 1.7.2, 1.8.0, 1.8.1, 1.9.0
>            Reporter: hubin
>            Priority: Major
>
> For example, syncing an order table sink to es6, order_id is primary key 
>  `insert into es6_table select order_id, order_name from source_table`
> However, the primary key in es6 is randomly generated, and the order_id 
> cannot be used to find the record.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to