starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

[BugFix] support load from hudi table

Open blanklin030 opened this issue 1 year ago • 3 comments

Why I'm doing:

support spark load hudi table to starrocks

What I'm doing:

modify the BrokerFileGroup.java and SparkLoadPendingTask.java to support the feature

Fixes #issue #45317

What type of PR is this:

  • [x] BugFix
  • [ ] Feature
  • [ ] Enhancement
  • [ ] Refactor
  • [ ] UT
  • [ ] Doc
  • [ ] Tool

Does this PR entail a change in behavior?

  • [ ] Yes, this PR will result in a change in behavior.
  • [x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • [ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • [ ] Parameter changes: default values, similar parameters but with different default values
  • [ ] Policy changes: use new policy to replace old one, functionality automatically enabled
  • [ ] Feature removed
  • [ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • [x] I have added test cases for my bug fix or my new feature
  • [ ] This pr needs user documentation (for new or modified features or behaviors)
    • [ ] I have added documentation for my new feature or new function
  • [ ] This is a backport pr

Bugfix cherry-pick branch check:

  • [x] I have checked the version labels which the pr will be auto-backported to the target branch
    • [x] 3.3
    • [x] 3.2
    • [x] 3.1
    • [x] 3.0
    • [ ] 2.5

blanklin030 avatar May 08 '24 15:05 blanklin030

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


BlankLin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar May 08 '24 15:05 CLAassistant

[BE Incremental Coverage Report]

:white_check_mark: pass : 0 / 0 (0%)

github-actions[bot] avatar May 13 '24 04:05 github-actions[bot]

@blanklin030 Can we use INSERT ... select * from hudi_catalog_table to load data?

jaogoy avatar May 30 '24 12:05 jaogoy

@blanklin030 Can we use INSERT ... select * from hudi_catalog_table to load data?

@jaogoy hello,just because ‘insert.. select ' mode has a high cost of be resources, so our company uses spark-load for hive/hudi table data import sr

blanklin030 avatar May 30 '24 13:05 blanklin030