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-8824] MIT should error out for some assignment clause patterns #12584

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

Davis-Zhang-Onehouse
Copy link
Contributor

@Davis-Zhang-Onehouse Davis-Zhang-Onehouse commented Jan 7, 2025

Change Logs

For insert and update clause of MIT, in some cases if we didn't set the primary key/precombine field value explicitly, MIT errors out in the query analyze phase.

Also some changes that make sure the precombine key value data type is the same over source and target table (an irrelevant test maintenance)

Impact

Better user facing error message and guard against cases we don't support.

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

none

Documentation Update

We track MIT doc update all in https://issues.apache.org/jira/browse/HUDI-8527

Contributor's checklist

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

@github-actions github-actions bot added the size:L PR with lines of changes in (300, 1000] label Jan 7, 2025
@Davis-Zhang-Onehouse Davis-Zhang-Onehouse force-pushed the HUDI-8824 branch 3 times, most recently from 538edc9 to 441d8eb Compare January 7, 2025 21:47
@Davis-Zhang-Onehouse Davis-Zhang-Onehouse force-pushed the HUDI-8824 branch 3 times, most recently from 3f5a535 to 631494d Compare January 9, 2025 18:41
Copy link
Contributor

@yihua yihua left a comment

Choose a reason for hiding this comment

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

LGTM

@hudi-bot
Copy link

CI report:

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

@yihua yihua merged commit 71b0bf0 into apache:master Jan 14, 2025
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L PR with lines of changes in (300, 1000]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants