[jira] [Created] (FLINK-13289) Blink Planner JDBCUpsertTableSink : UnsupportedOperationException "JDBCUpsertTableSink can not support "

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13289) Blink Planner JDBCUpsertTableSink : UnsupportedOperationException "JDBCUpsertTableSink can not support "

Shang Yuanchun (Jira)
LakeShen created FLINK-13289:
--------------------------------

             Summary: Blink Planner JDBCUpsertTableSink : UnsupportedOperationException "JDBCUpsertTableSink can not support "
                 Key: FLINK-13289
                 URL: https://issues.apache.org/jira/browse/FLINK-13289
             Project: Flink
          Issue Type: Bug
    Affects Versions: 1.9.0
            Reporter: LakeShen


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)