-
Notifications
You must be signed in to change notification settings - Fork 230
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
Support ANSI mode for ToUnixTimestamp, UnixTimestamp, GetTimestamp, DateAddInterval
#5316
Conversation
…DateAddInterval` Signed-off-by: Chong Gao <res_life@163.com>
ToUnixTimestamp, UnixTimestamp and GetTimestamp They throw an exception if has any invalid value when parsing strings to timestamps in ANSI mode.
So only checks when it's not
Will add more tests when fixing this PR: DateAddInterval
The ANSI checking was added in the following PR
|
build |
sql-plugin/src/main/scala/org/apache/spark/sql/rapids/datetimeExpressions.scala
Show resolved
Hide resolved
build |
Contributes to #5119
Supports ANSI mode for:
Signed-off-by: Chong Gao res_life@163.com