You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "lincoln lee (Jira)" <ji...@apache.org> on 2023/08/21 14:51:00 UTC
[jira] [Closed] (FLINK-19418) Inline PRIMARY KEY constraint should be invalid
[ https://issues.apache.org/jira/browse/FLINK-19418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lincoln lee closed FLINK-19418.
-------------------------------
Fix Version/s: 1.17.0
Resolution: Fixed
> Inline PRIMARY KEY constraint should be invalid
> -----------------------------------------------
>
> Key: FLINK-19418
> URL: https://issues.apache.org/jira/browse/FLINK-19418
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.13.0, 1.12.3
> Reporter: Konstantin Knauf
> Priority: Not a Priority
> Labels: auto-deprioritized-major, auto-deprioritized-minor
> Fix For: 1.17.0
>
>
> The following statement validates and is accepted although inline PRIMARY KEY constraints are actually not supported.
> {noformat}
> CREATE TEMPORARY TABLE users (
> user_id INT PRIMARY KEY,
> user_name VARCHAR(255),
> age INT
> ) WITH (
> 'connector' = 'datagen',
> 'fields.user_id.min' = '1',
> 'fields.user_id.max' = '50',
> 'fields.age.min' = '10',
> 'fields.age.max' = '100'
> );
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)