[
https://issues.apache.org/jira/browse/FLINK-12846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16863793#comment-16863793
]
Jark Wu commented on FLINK-12846:
---------------------------------
[~dawidwys] [~twalthr] What do you think about this?
> Carry primary key and unique key information in TableSchema
> -----------------------------------------------------------
>
> Key: FLINK-12846
> URL: https://issues.apache.org/jira/browse/FLINK-12846
> Project: Flink
> Issue Type: New Feature
> Components: Table SQL / API
> Reporter: Jark Wu
> Assignee: Jark Wu
> Priority: Major
> Fix For: 1.9.0
>
>
> The primary key and unique key is a standard meta information in SQL. And
> they are important information for optimization, for example,
> AggregateRemove, AggregateReduceGrouping and state layout optimization for
> TopN and Join.
> So in this issue, we want to extend {{TableSchema}} to carry more information
> about primary key and unique keys. So that the TableSource can declare this
> meta information.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)