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

Spark 3.5: Support default values in Parquet reader #11803

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

rdblue
Copy link
Contributor

@rdblue rdblue commented Dec 17, 2024

This is similar to #11785 but updates the Spark readers.

@github-actions github-actions bot added the spark label Dec 17, 2024
@manuzhang
Copy link
Collaborator

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) {
Copy link
Contributor

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.

Copy link
Contributor Author

@rdblue rdblue Dec 18, 2024

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.

Copy link
Contributor Author

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

@rdblue rdblue merged commit 7e1a4c9 into apache:main Dec 18, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants