Skip to content

Comments

[HUDI-9255] Fix inferring correct merge behavior for few scenarios #13079

Merged
nsivabalan merged 5 commits intoapache:masterfrom
lokeshj1703:HUDI-9255
Apr 4, 2025
Merged

[HUDI-9255] Fix inferring correct merge behavior for few scenarios #13079
nsivabalan merged 5 commits intoapache:masterfrom
lokeshj1703:HUDI-9255

Conversation

@lokeshj1703
Copy link
Collaborator

@lokeshj1703 lokeshj1703 commented Apr 3, 2025

Change Logs

  • We are inferring merge mode by inferring it using merge strategy id when table version is 8 and using payload when table version is 6. The Jira aims to use a similar rule when inferring merge strategy id.
    If table version is 8, we use table config merge strategy id otherwise we determine strategy id using payload. This handling is required only for custom merge mode.

  • Also, fixed the table version argument that we pass in to infer merge mode configs.

Impact

NA

Risk level (write none, low medium or high below)

low

Documentation Update

NA

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@github-actions github-actions bot added the size:S PR with lines of changes in (10, 100] label Apr 3, 2025
@nsivabalan nsivabalan changed the title [HUDI-9255] Fix merge strategy inferring for custom merge mode [HUDI-9255] Fix inferring correct merge behavior for few scenarios Apr 3, 2025
@nsivabalan
Copy link
Contributor

#13084 is also included in this patch itself

@github-actions github-actions bot added size:M PR with lines of changes in (100, 300] and removed size:S PR with lines of changes in (10, 100] labels Apr 3, 2025
@hudi-bot
Copy link
Collaborator

hudi-bot commented Apr 4, 2025

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@nsivabalan nsivabalan merged commit 6d3dbcc into apache:master Apr 4, 2025
60 checks passed
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 8, 2025
…pache#13079)

---------

Co-authored-by: sivabalan <n.siva.b@gmail.com>
(cherry picked from commit 6d3dbcc)
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 9, 2025
…pache#13079)

---------

Co-authored-by: sivabalan <n.siva.b@gmail.com>
(cherry picked from commit 6d3dbcc)
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 11, 2025
…pache#13079)

---------

Co-authored-by: sivabalan <n.siva.b@gmail.com>
(cherry picked from commit 6d3dbcc)
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 15, 2025
…pache#13079)

---------

Co-authored-by: sivabalan <n.siva.b@gmail.com>
(cherry picked from commit 6d3dbcc)
voonhous pushed a commit to voonhous/hudi that referenced this pull request Apr 16, 2025
…pache#13079)

---------

Co-authored-by: sivabalan <n.siva.b@gmail.com>
(cherry picked from commit 6d3dbcc)
vinishjail97 pushed a commit to vinishjail97/hudi that referenced this pull request Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-1.0.2 size:M PR with lines of changes in (100, 300]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants