Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-2170

Always choose the latest record for HoodieRecordPayload

    XMLWordPrintableJSON

Details

    Description

      Now in OverwriteWithLatestAvroPayload.preCombine, we still choose the old record when the new record has the same preCombine field with the old one, actually it is more natural to keep the new incoming record instead. The DefaultHoodieRecordPayload.combineAndGetUpdateValue method already did that.

      See issue: https://github.com/apache/hudi/issues/3266.

      Attachments

        Issue Links

          Activity

            People

              danny0405 Danny Chen
              danny0405 Danny Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: