[ 
https://issues.apache.org/jira/browse/FLINK-17356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17093166#comment-17093166
 ] 

Flavio Pompermaier commented on FLINK-17356:
--------------------------------------------

Yes I know tat they are not used right now, but this is true also for PKs..so I 
think the hope is that the optimizer could consider those 2 in the future

> Properly set constraints (PK and UNIQUE)
> ----------------------------------------
>
>                 Key: FLINK-17356
>                 URL: https://issues.apache.org/jira/browse/FLINK-17356
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / JDBC, Table SQL / Ecosystem
>            Reporter: Flavio Pompermaier
>            Priority: Major
>              Labels: pull-request-available
>
> At the moment the PostgresCatalog does not create field constraints (at the 
> moment there's only UNIQUE and  PRIMARY_KEY in the TableSchema..could it 
> worth to add also NOT_NULL?)



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

Reply via email to