You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (JIRA)" <ji...@apache.org> on 2019/07/26 06:25:00 UTC

[jira] [Resolved] (FLINK-13289) Blink-planner should setKeyFields to upsert table sink

     [ https://issues.apache.org/jira/browse/FLINK-13289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jark Wu resolved FLINK-13289.
-----------------------------
    Resolution: Fixed

Fixed in 1.10.0: 35237ae8c42f2184717d8f5eee1cf8efed2c63c7
Fixed in 1.9.0: cdcd15ff5fc00cb33b361bf1c408d1801ad6032a

> Blink-planner should setKeyFields to upsert table sink
> ------------------------------------------------------
>
>                 Key: FLINK-13289
>                 URL: https://issues.apache.org/jira/browse/FLINK-13289
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / JDBC, Table SQL / Planner
>    Affects Versions: 1.9.0
>            Reporter: LakeShen
>            Assignee: Jingsong Lee
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.9.0, 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Hi , in flink-jdbc connector module, I change the Flink planner to Blink planner to test all test case,because we want to use Blank planner in our program. When I test the JDBCUpsertTableSinkITCase class , the method testUpsert throw the exception:
> {color:red}java.lang.UnsupportedOperationException: JDBCUpsertTableSink can not support {color}
> I saw the src code,in Flink planner , the StreamPlanner set the JDBCUpsertTableSink' keyFields,
> but in Blink planner , I didn't find anywhere to set JDBCUpsertTableSink' keyFields,so JDBCUpsertTableSink keyFields is null, when execute JDBCUpsertTableSink newFormat(),
> it thrown the exception.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)