Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HUDI-7879] Optimize the redundant creation of HoodieTable in DataSourceInternalWriterHelper and the unnecessary parameters in createTable within BaseHoodieWriteClient. #11456

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

majian1998
Copy link
Contributor

In the initialization method of DataSourceInternalWriterHelper, it currently creates two identical HoodieTable instances. We should remove one of them. Also, when comparing the differences between the two HoodieTable instances, I noticed that the createTable method in BaseHoodieWriteClient includes a HadoopConfiguration parameter that isn't used by any implemented methods. I'm not sure why it was designed this way, but I think we can remove it.

Change Logs

None

Impact

None

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

low

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

…rceInternalWriterHelper and the unnecessary parameters in createTable within BaseHoodieWriteClient.
@github-actions github-actions bot added the size:S PR with lines of changes in (10, 100] label Jun 14, 2024
@hudi-bot
Copy link

CI report:

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

@danny0405 danny0405 merged commit 9b77eb1 into apache:master Jun 15, 2024
46 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.

None yet

3 participants