Konstantin Knauf created FLINK-19418:
----------------------------------------

             Summary: 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
            Reporter: Konstantin Knauf


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.3.4#803005)

Reply via email to