You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Timo Walther (Jira)" <ji...@apache.org> on 2021/09/01 15:24:00 UTC

[jira] [Created] (FLINK-24116) PRIMARY KEY declaration on insert-only table is not validated globally

Timo Walther created FLINK-24116:
------------------------------------

             Summary: PRIMARY KEY declaration on insert-only table is not validated globally
                 Key: FLINK-24116
                 URL: https://issues.apache.org/jira/browse/FLINK-24116
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
            Reporter: Timo Walther


In the regular Kafka connector, we validate that a primary key is not defined on an insert-only table source:

https://github.com/apache/flink/pull/13850/commits/c1d4dc89fa629e0f04102e7ab2fa94984cd98218

However, this should be validated for every connector because it is confusing if it works for others. We should validate this in the planner instead.



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