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

Jark Wu commented on FLINK-17762:
---------------------------------

Yes. I think we can reuse the implementations. But we may only need to support 
PRIMARY KEY in it. I would like to treat is as a bug fix, otherwise, the tables 
registered by postgres catalog can't be used as a sink in group by query. Would 
you like to take this [~f.pompermaier]?

> Postgres Catalog should pass table's primary key to catalogTable
> ----------------------------------------------------------------
>
>                 Key: FLINK-17762
>                 URL: https://issues.apache.org/jira/browse/FLINK-17762
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Leonard Xu
>            Priority: Major
>
> for upsert query, if the table comes from a catalog rather than create in 
> FLINK,  Postgres Catalog should pass table's primary key to catalogTable so 
> that JdbcDynamicTableSink can determine to work on upsert mode or append only 
> mode.



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

Reply via email to