hudi icon indicating copy to clipboard operation
hudi copied to clipboard

[HUDI-9512] Avoid creating empty files when there is content to write

Open the-other-tim-brown opened this issue 5 months ago • 2 comments

Change Logs

  • Updates code to avoid creating empty files when there is content to write

Impact

  • Avoid risk of creating an empty file due to a crash

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

None

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

the-other-tim-brown avatar Jun 09 '25 19:06 the-other-tim-brown

hey @the-other-tim-brown : can you check CI failures. once its green, we are good to land this one right?

nsivabalan avatar Jun 17 '25 02:06 nsivabalan

CI report:

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

hudi-bot avatar Jul 16 '25 03:07 hudi-bot