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

Fix failing test compile for Spark 4.0.0 #11363

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

revans2
Copy link
Collaborator

@revans2 revans2 commented Aug 19, 2024

This fixes #11350

Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
@revans2
Copy link
Collaborator Author

revans2 commented Aug 19, 2024

build

razajafri
razajafri previously approved these changes Aug 19, 2024
@jlowe jlowe added test Only impacts tests build Related to CI / CD or cleanly building labels Aug 19, 2024
import org.apache.spark.sql.catalyst.expressions.Literal

object ColumnCreationShim {
def apply(lit: Literal): Column = new Column(lit)
Copy link
Member

Choose a reason for hiding this comment

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

Do we really need to shim this? It appears older Spark versions support the Column.apply method. If so, we could just update the test to use that rather than create a shim.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I thought I tried that,but I will try it again.

@revans2
Copy link
Collaborator Author

revans2 commented Aug 19, 2024

build

@revans2
Copy link
Collaborator Author

revans2 commented Aug 19, 2024

@razajafri and @jlowe please take another look

@revans2 revans2 changed the title Shim failing test compile for Spark 4.0.0 Fix failing test compile for Spark 4.0.0 Aug 20, 2024
@revans2 revans2 merged commit 6924404 into NVIDIA:branch-24.10 Aug 20, 2024
43 checks passed
@revans2 revans2 deleted the fix_400_test_build branch August 20, 2024 14:04
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 test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] spark400 compile failed in scala213
3 participants