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

Update to Spark 4.0 changing signature of SupportsV1Write.writeWithV1 #11739

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Nov 20, 2024

After SPARK-50315 SupportsWriteWithV1.writeWithV1 no longer returns a value, causing a build error for Spark4.0. This method simply returned Nil before, so rather than shim this for Spark 4 it updates the code to return Nil directly.

Fixes #11741

@jlowe jlowe added the build Related to CI / CD or cleanly building label Nov 20, 2024
@jlowe jlowe self-assigned this Nov 20, 2024
@jlowe jlowe changed the title Update to Spark 4.0 changing signature of SupportsV1WRite.writeWithV1 Update to Spark 4.0 changing signature of SupportsV1Write.writeWithV1 Nov 20, 2024
@jlowe
Copy link
Member Author

jlowe commented Nov 20, 2024

build

gerashegalov
gerashegalov previously approved these changes Nov 20, 2024
Copy link
Collaborator

@gerashegalov gerashegalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

revans2
revans2 previously approved these changes Nov 20, 2024
@revans2
Copy link
Collaborator

revans2 commented Nov 20, 2024

Looks like the build now works, but a number of generated files are out of date for spark 4.0. Do we want to generate those here? or would a separate PR be better for that?

@jlowe jlowe dismissed stale reviews from revans2 and gerashegalov via 67e2979 November 21, 2024 02:37
@jlowe
Copy link
Member Author

jlowe commented Nov 21, 2024

I went ahead and updated the tools support files for Spark 4.0, since the point of this PR is to fix builds for Spark 4.0 including the premerge build checks.

@jlowe
Copy link
Member Author

jlowe commented Nov 21, 2024

build

@gerashegalov gerashegalov merged commit d3cda26 into NVIDIA:branch-24.12 Nov 21, 2024
49 checks passed
@jlowe jlowe deleted the writeWithV1 branch November 21, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to CI / CD or cleanly building
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Fix spark400 build due to writeWithV1 return value change
3 participants