Uploaded image for project: 'Apache Hudi'
  1. Apache Hudi
  2. HUDI-8710 Improvements on the migration to Hudi 1.0 - Phase 1
  3. HUDI-8702

Correctly set the merge strategy id table config if payload class or merge mode is updated

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • 1.0.1
    • None
    • None

    Description

      1. Create a table, such as the one in quickstart, with default configurations. The table config will have DefaultHoodieRecordPayload as payload class and EVENT_TIME_ORDERING as merge mode, and merge strategy id is DEFAULT_MERGE_STRATEGY_UUID
      2. Then use hudi-cli to update the merge mode to COMMIT_TIME_ORDERING and payload class to OverwriteWithLatestPayload using `table update-configs` command. This will set the thw two configs but not update the merge strategy id. Given that merge strategy id is an internal implementation detail, it should be set automatically depending on merge mode and payload class.

      Attachments

        Activity

          People

            Unassigned Unassigned
            codope Sagar Sumit
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified