You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (JIRA)" <ji...@apache.org> on 2019/06/14 07:37:00 UTC

[jira] [Created] (FLINK-12846) Carry primary key and unique key information in TableSchema

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)