-
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
Spark 3.5: Support default values in Parquet reader #11803
Spark 3.5: Support default values in Parquet reader #11803
Conversation
For the context, is this PR (and previous PRs) resolving #10761? |
* @param value a value that is an instance of {@link Type.TypeID#javaClass()} | ||
* @return the value converted for Spark | ||
*/ | ||
public static Object convertConstant(Type type, Object value) { |
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.
I know that this is a copy of the other one, but I would also expect UUID to be here.
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.
Good point, I'll update it in my follow up that is fixing a few types and adding a test for each primitive. I need to make some changes on top of this one, so it makes sense to do all of the primitive type fixes at the same time.
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.
The follow up will be here: #11811
This is similar to #11785 but updates the Spark readers.