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

KeyedLookupJoinWrapper should shuffle by input upsertKey instead of join key to avoid changelog disordering

    XMLWordPrintableJSON

Details

    Description

      If user encounter the NDU issue caused by a lookup join and enable the TRY_RESOLVE mode ( https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/concepts/determinism/#33-how-to-eliminate-the-impact-of-non-deterministic-update-in-streaming ), the current KeyedLookupJoinWrapper implementation use the join key as the shuffle key, this may lead to changelog disordering issue. It should be fixed to use input upsertKey(or the complete row if upsertKey is empty) instead of join key.

      Attachments

        Issue Links

          Activity

            People

              lincoln.86xy lincoln lee
              lincoln.86xy lincoln lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: