Alvin Ge created FLINK-29821:
--------------------------------

             Summary: Schema.Builder how to set not null column?
                 Key: FLINK-29821
                 URL: https://issues.apache.org/jira/browse/FLINK-29821
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / API
    Affects Versions: shaded-16.0
         Environment: Windows local development env.
            Reporter: Alvin Ge


{code:java}
// code placeholder
Schema.Builder schemaBuilder = Schema.newBuilder();
schemaBuilder.column("id", DataTypes.BIGINT())
        .column("value", DataTypes.STRING())
        .primaryKey("id"); {code}
When I was setting primary key, console print primary key can not be null, but 
I don't know how to setting my primay key not null....



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to