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

Jark Wu edited comment on FLINK-16079 at 2/16/20 12:57 PM:
-----------------------------------------------------------

Maybe we can use underscore to concat the primary key fields as the primary key 
name, that will be more readable?  e.g. {{PK_f0_f2}}


was (Author: jark):
Maybe we can use underscore to concat the primary key fields as the primary key 
name, that will be more readable? 

> Primary key should use a deterministic name by default
> ------------------------------------------------------
>
>                 Key: FLINK-16079
>                 URL: https://issues.apache.org/jira/browse/FLINK-16079
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / API
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>             Fix For: 1.11.0
>
>
> Right now if a name for primary key is not provided a UUID will be used. We 
> should change it to be a deterministic identifier, e.g. a hash of all columns 
> of the primary key.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to