-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[MINOR] pass the avro exception for better information #11925
[MINOR] pass the avro exception for better information #11925
Conversation
20f91a0
to
0b71db4
Compare
i don't use hudi-1.0.0 yet, so raised PR against 0.15 only. |
Thanks for the contribution, can we make this change against master and then cherry pick to 0.x-branch if necessary. The 0.x-branch is the branch for new releases of 0.x Hudi. |
sure |
0b71db4
to
10a79b7
Compare
10a79b7
to
c1d8904
Compare
@danny0405 I have addressed your comments now. thank you. |
Thanks, I have re-trigger the Azure CI tests against the failures. |
@danny0405 do I need to do something to get this CI to pass? |
c1d8904
to
cba5757
Compare
@danny0405 all checks are green now 🎉 |
@wombatu-kun can you please merge this to https://github.com/apache/hudi/tree/release-0.15.0 as well. |
Change Logs
In a few cases, Avro exception is pretty good. Highlighting the error message instead of suppressing it is more informational.
e.g.: In this
spark connect
example, there is a duplicate column error. But the error is visible on the driver. Not on the python client. This PR will bubble the error message proactively and improve the UX.Error with this patch [more readable]
Error without this patch
Impact
NA
Risk level (write none, low medium or high below)
none
Documentation Update
na
Contributor's checklist