Skip to content

Conversation

@HyukjinKwon
Copy link
Member

What changes were proposed in this pull request?

This PR fixes the test to make CastWithAnsiOffSuite properly respect ansiEnabled in cast string to date #2 test by using CastWithAnsiOffSuite.cast instead of Cast expression.

Why are the changes needed?

To make the tests pass. Currently it fails when ANSI mode is on:

https://github.com/apache/spark/runs/6786744647

Does this PR introduce any user-facing change?

No, test-only.

How was this patch tested?

Manually tested in my IDE.

@HyukjinKwon
Copy link
Member Author

cc @cloud-fan

@github-actions github-actions bot added the SQL label Jun 8, 2022
Copy link
Contributor

@cloud-fan cloud-fan left a comment

Choose a reason for hiding this comment

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

good catch!

@HyukjinKwon
Copy link
Member Author

Merged to master.

@HyukjinKwon HyukjinKwon deleted the SPARK-39321-followup branch January 15, 2024 00:53
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.

2 participants