-
Notifications
You must be signed in to change notification settings - Fork 1.5k
PARQUET-387: Improve NPE message when avro arrays contain null. #291
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
Conversation
Previously, the NPE had no error message but the Avro support accepts schemas that have nullable array elements.
|
@liancheng could you take a look at this? Thanks! |
|
The change LGTM, would be nice to have a test for it though. |
|
Thanks @liancheng, I updated the test case for nulls to validate that the error message was set correctly. |
|
Looks like the test failure is from a flaky MemoryManager test, not a real issue. |
|
+1. Let me try to merge this one :) |
|
Unfortunately I failed to merge this PR with the following error :( Seems that my committership hasn't taken effect yet? (I've already followed instructions on this page: https://parquet.apache.org/contribute/) |
|
Thanks for trying, @liancheng. The permissions are controlled by config files on an Apache server, I'll look into it. |
Previously, the NPE had no error message but the Avro support accepts schemas that have nullable array elements. Author: Ryan Blue <blue@apache.org> Closes apache#291 from rdblue/PARQUET-387-fix-npe-message and squashes the following commits: 39d3c83 [Ryan Blue] PARQUET-387: Update test case to verify help message. d6b6bd8 [Ryan Blue] PARQUET-387: Improve NPE message when avro arrays contain null.
Previously, the NPE had no error message but the Avro support accepts schemas that have nullable array elements. Author: Ryan Blue <blue@apache.org> Closes apache#291 from rdblue/PARQUET-387-fix-npe-message and squashes the following commits: 39d3c83 [Ryan Blue] PARQUET-387: Update test case to verify help message. d6b6bd8 [Ryan Blue] PARQUET-387: Improve NPE message when avro arrays contain null.
Previously, the NPE had no error message but the Avro support accepts schemas that have nullable array elements. Author: Ryan Blue <blue@apache.org> Closes apache#291 from rdblue/PARQUET-387-fix-npe-message and squashes the following commits: 39d3c83 [Ryan Blue] PARQUET-387: Update test case to verify help message. d6b6bd8 [Ryan Blue] PARQUET-387: Improve NPE message when avro arrays contain null.
Previously, the NPE had no error message but the Avro support accepts
schemas that have nullable array elements.