Skip to content

[HUDI-9671] Record with UPDATE_BEFORE operation should be consisdered…#13657

Merged
danny0405 merged 3 commits intoapache:masterfrom
cshuo:HUDI-9671
Aug 1, 2025
Merged

[HUDI-9671] Record with UPDATE_BEFORE operation should be consisdered…#13657
danny0405 merged 3 commits intoapache:masterfrom
cshuo:HUDI-9671

Conversation

@cshuo
Copy link
Collaborator

@cshuo cshuo commented Jul 31, 2025

… as a delete record in FileGroup reader

Change Logs

Record with UPDATE_BEFORE operation should be consisdered as a delete record in FileGroup reader

Impact

Ensure records with UPDATE_BEFORE operation are not emitted if emitDeletes are false.

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

low

Documentation Update

Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

  • The config description must be updated if new configs are added or the default value of the configs are changed
  • Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
    ticket number here and follow the instruction to make
    changes to the website.

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 Jul 31, 2025
@Test
public void test() throws Exception {
@ParameterizedTest
@ValueSource(booleans = {true, false})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use @EnumSource instead.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also fix HoodieWriteMergeHandle.

@hudi-bot
Copy link
Collaborator

hudi-bot commented Aug 1, 2025

CI report:

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

@danny0405 danny0405 merged commit 23f12e1 into apache:master Aug 1, 2025
116 of 118 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S PR with lines of changes in (10, 100]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants