Skip to content

Comments

[HUDI-3516] Implement record iterator for HoodieDataBlock#4909

Merged
danny0405 merged 4 commits intoapache:masterfrom
cuibo01:datablock
Mar 2, 2022
Merged

[HUDI-3516] Implement record iterator for HoodieDataBlock#4909
danny0405 merged 4 commits intoapache:masterfrom
cuibo01:datablock

Conversation

@cuibo01
Copy link
Contributor

@cuibo01 cuibo01 commented Feb 25, 2022

Tips

What is the purpose of the pull request

(For example: This pull request adds quick-start document.)

Brief change log

(for example:)

  • Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request

(Please pick either of the following options)

This pull request is a trivial rework / code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end.
  • Added HoodieClientWriteTest to verify the change.
  • Manually verified the change by running a job locally.

Committer checklist

  • Has a corresponding JIRA in PR title & commit

  • Commit message is descriptive of the change

  • CI is green

  • Necessary doc changes done or have another open PR

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@cuibo01 cuibo01 force-pushed the datablock branch 2 times, most recently from fe7be60 to 8e1f10b Compare February 25, 2022 11:39
@cuibo01
Copy link
Contributor Author

cuibo01 commented Feb 26, 2022

@hudi-bot run azure

@xushiyan xushiyan added engine:flink Flink integration priority:high Significant impact; potential bugs priority:critical Production degraded; pipelines stalled and removed priority:high Significant impact; potential bugs labels Feb 27, 2022
@danny0405 danny0405 changed the title [HUDI-3516][HUDI-FLINK]Optimize the memory of HoodieDataBlock for Flink [HUDI-3516] Implement record iterator for HoodieDataBlock Feb 28, 2022
@danny0405
Copy link
Contributor

danny0405 commented Feb 28, 2022

Thanks for the contribution, i have reviewed and supply a patch :)
HUDI-3516.patch.zip

@nsivabalan nsivabalan self-assigned this Feb 28, 2022
@cuibo01 cuibo01 force-pushed the datablock branch 2 times, most recently from 4b93451 to 9f920ed Compare March 1, 2022 01:45
@danny0405
Copy link
Contributor

Thanks, overall looks good, i have reviewed and have another patch for this :)
HUDI-3516_2.patch.zip

Copy link
Contributor

@danny0405 danny0405 left a comment

Choose a reason for hiding this comment

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

+1, LGTM ~

@cuibo01
Copy link
Contributor Author

cuibo01 commented Mar 1, 2022

@danny0405 Thank you very much for your review :)

@cuibo01 cuibo01 force-pushed the datablock branch 2 times, most recently from 4089f89 to 696fa48 Compare March 1, 2022 10:02
@cuibo01
Copy link
Contributor Author

cuibo01 commented Mar 1, 2022

@hudi-bot run azure

1 similar comment
@cuibo01
Copy link
Contributor Author

cuibo01 commented Mar 1, 2022

@hudi-bot run azure

@hudi-bot
Copy link
Collaborator

hudi-bot commented Mar 1, 2022

CI report:

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

@danny0405 danny0405 merged commit 3fdc933 into apache:master Mar 2, 2022
@nsivabalan
Copy link
Contributor

this is a good find and a nice optimization 👍

vingov pushed a commit to vingov/hudi that referenced this pull request Apr 3, 2022
*  Use iterator to void eager materialization to be memory friendly
stayrascal pushed a commit to stayrascal/hudi that referenced this pull request Apr 12, 2022
*  Use iterator to void eager materialization to be memory friendly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine:flink Flink integration priority:critical Production degraded; pipelines stalled

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants