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

Throw exception on parse error in ANSI mode when casting String to Date #3396

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

firestarman
Copy link
Collaborator

This fixes #1941.

Signed-off-by: Firestarman firestarmanllc@gmail.com

Signed-off-by: Firestarman <firestarmanllc@gmail.com>
@firestarman
Copy link
Collaborator Author

build

@firestarman
Copy link
Collaborator Author

firestarman commented Sep 7, 2021

Trigger the premerge to make sure at least it will not break anything before Spark 3.2.0.

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. I would like to see @andygrove review it too, just because he has done a lot more with string to date/timestamp casting

@firestarman
Copy link
Collaborator Author

Looks good to me. I would like to see @andygrove review it too, just because he has done a lot more with string to date/timestamp casting

Sure, will wait for @andygrove's comments.

Copy link
Contributor

@andygrove andygrove left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Casting String to Date should throw exception on parse error in ANSI mode
4 participants