Jark Wu created FLINK-12846: ------------------------------- Summary: 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 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)