Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13285 Check connectors runnable in blink runner
  3. FLINK-13289

Blink-planner should setKeyFields to upsert table sink

    XMLWordPrintableJSON

Details

    Description

      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:
      java.lang.UnsupportedOperationException: JDBCUpsertTableSink can not support
      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.

      Attachments

        Issue Links

          Activity

            People

              lzljs3620320 Jingsong Lee
              shenlang LakeShen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m