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 regression in AnsiCastOpSuite with Spark 3.3.0 #5486

Merged
merged 1 commit into from
May 16, 2022

Conversation

andygrove
Copy link
Contributor

Closes #5457

AnsiCastOpSuite has assertions that look for an ANSI cast in a query plan. Prior to Spark 3.3.0 we could use toString to see if the name of the cast was "cast" or "ansi_cast" but now the name is always "cast" so we need to use reflection to access the protected field "ansiEnabled".

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove added the test Only impacts tests label May 13, 2022
@andygrove andygrove added this to the May 2 - May 20 milestone May 13, 2022
@andygrove andygrove self-assigned this May 13, 2022
@tgravescs
Copy link
Collaborator

build

1 similar comment
@andygrove
Copy link
Contributor Author

build

@firestarman
Copy link
Collaborator

Merged to unblock 330 build, and 340 development.

@firestarman firestarman merged commit 934de38 into NVIDIA:branch-22.06 May 16, 2022
@andygrove andygrove deleted the ansi-cast-330 branch May 17, 2023 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] 330 AnsiCastOpSuite Unit tests failed 22 cases
3 participants