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 AnsiCastOpSuite failures with Spark 3.2 #3377

Merged
merged 13 commits into from
Sep 14, 2021

Conversation

andygrove
Copy link
Contributor

This PR updates an assertion in AnsiCastOpSuite and fixes all 21 test failures when running against Spark 3.2

This partially addresses #3376

@andygrove andygrove linked an issue Sep 3, 2021 that may be closed by this pull request
54 tasks
Signed-off-by: Andy Grove <[email protected]>
Signed-off-by: Andy Grove <[email protected]>
Signed-off-by: Andy Grove <[email protected]>
Signed-off-by: Andy Grove <[email protected]>
Signed-off-by: Andy Grove <[email protected]>
@sameerz sameerz added this to the Aug 30 - Sept 10 milestone Sep 3, 2021
revans2
revans2 previously approved these changes Sep 7, 2021
Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

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

Looks good to me, but I want to be sure that @gerashegalov is also okay with it because he reviewed this too.

revans2
revans2 previously approved these changes Sep 7, 2021
@revans2
Copy link
Collaborator

revans2 commented Sep 7, 2021

build

gerashegalov
gerashegalov previously approved these changes Sep 7, 2021
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, but preferably merge after #3381

recurse(plan, predicate, new ListBuffer[SparkPlan]())
}

override def shouldAssertIsOnTheGpu(plan: SparkPlan): Boolean = plan match {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am tempted to suggest trading off type safety for such small auxiliary functions and just do string comparison in the shared code instead of instanceof checks in the future.

@andygrove
Copy link
Contributor Author

I am looking into the test failures

@andygrove andygrove dismissed stale reviews from gerashegalov and revans2 via d134dc3 September 8, 2021 17:53
@andygrove
Copy link
Contributor Author

build

@andygrove
Copy link
Contributor Author

build

Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

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

I don't know the new build system well enough to approve this right now. I see shim changes for spark320 and 301+-nondb, but what about databricks?

@andygrove
Copy link
Contributor Author

This PR does not build on Databricks. I will have a fix up later today.

@andygrove
Copy link
Contributor Author

I pushed a fix and this now builds on Databricks 7.3

@andygrove
Copy link
Contributor Author

build

Copy link
Collaborator

@revans2 revans2 left a comment

Choose a reason for hiding this comment

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

Just FYI the build has been having some issues because of a mirror of public maven repos.

@pxLi
Copy link
Collaborator

pxLi commented Sep 14, 2021

build

@andygrove andygrove merged commit 62854cc into NVIDIA:branch-21.10 Sep 14, 2021
@andygrove andygrove deleted the fix-ansicastopsuite-spark320 branch September 14, 2021 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants