-
Notifications
You must be signed in to change notification settings - Fork 28k
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
[SPARK-16344][SQL][BRANCH-1.6] Decoding Parquet array of struct with a single field named "element" #14013
[SPARK-16344][SQL][BRANCH-1.6] Decoding Parquet array of struct with a single field named "element" #14013
Conversation
// | ||
// This case branch must appear before the next one. See comments of the next case branch | ||
// for details. | ||
false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This case branch is essential for the bug fix. Basically, it matches the standard 3-level layout first before trying to match the legacy 2-level layout, so that the "element" syntactic group in Parquet LIST won't be mistaken for the "element" field in the nested struct.
cc @yhuai |
Test build #61611 has finished for PR 14013 at commit
|
@rdblue Would you mind to help review this one? My initial investigation suggested that parquet-avro probably suffers the same issue. Will file a parquet-mr JIRA ticket soon if that's true. |
Test build #61612 has finished for PR 14013 at commit
|
@rdblue Verified that parquet-avro also suffers from this issue. Filed PARQUET-651 to track it. |
Test build #61812 has finished for PR 14013 at commit
|
Test build #61838 has finished for PR 14013 at commit
|
70b2e9c
to
b942dca
Compare
Test build #62052 has finished for PR 14013 at commit
|
I'm closing this one since we decided to fix this in master only. |
What changes were proposed in this pull request?
Please refer to SPARK-16344 for details about this issue.
How was this patch tested?
New test case added in
ParquetQuerySuite
.