Skip to content

[HUDI-9380] Fix collectColumnRangeMetadata to handle null date types#13266

Merged
nsivabalan merged 1 commit intoapache:masterfrom
voonhous:HUDI-9380-fix-null-date-types
May 6, 2025
Merged

[HUDI-9380] Fix collectColumnRangeMetadata to handle null date types#13266
nsivabalan merged 1 commit intoapache:masterfrom
voonhous:HUDI-9380-fix-null-date-types

Conversation

@voonhous
Copy link
Member

@voonhous voonhous commented May 6, 2025

Change Logs

HoodieTableMetadataUtil#collectColumnRangeMetadata is not able to handle cases where there are null date types.
Please check HUDI-9380 for the functional test routine to trigger this error.

No tests are added as this static method is a little difficult to test, requiring mocking of many different classes.

I've manually tested this against the failing routine that triggered the failure and have verified that it is no longer throwing an error.

Impact

Fixes error when null date types are present in the records used to generate HoodieColumnRangeMetadata.

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

None

Documentation Update

None

Contributor's checklist

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

@voonhous voonhous requested a review from nsivabalan May 6, 2025 07:17
@hudi-bot
Copy link
Collaborator

hudi-bot commented May 6, 2025

CI report:

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

@github-actions github-actions bot added the size:XS PR with lines of changes in <= 10 label May 6, 2025
@nsivabalan nsivabalan merged commit 088bc5d into apache:master May 6, 2025
58 of 59 checks passed
@voonhous voonhous deleted the HUDI-9380-fix-null-date-types branch January 16, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS PR with lines of changes in <= 10

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants