Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19418

Inline PRIMARY KEY constraint should be invalid

    XMLWordPrintableJSON

Details

    Description

      The following statement validates and is accepted although inline PRIMARY KEY constraints are actually not supported.

      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'
      );
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              knaufk Konstantin Knauf
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: