Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32001

SupportsRowLevelUpdate does not support returning only a part of the columns.

    XMLWordPrintableJSON

Details

    Description

      FLIP-282 introduces the new Delete and Update API in Flink SQL. Although it is described in the documentation that in case of partial-update we only need to return the primary key columns and the updated columns.

      But in fact, the topology of the jobĀ  is source -> cal -> constraintEnforcer -> sink, and the constraint check will be performed in the operator of constraintEnforcer, which is done according to index, not according to column. If only some columns are returned, the constraint check is wrong, and it is easy to generate ArrayIndexOutOfBoundsException.

      Attachments

        Issue Links

          Activity

            People

              luoyuxia luoyuxia
              Ming Li Ming Li
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: