-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50071][SQL][PYTHON] Add try_make_timestamp(_ltz and _ntz) and …
…related tests ### What changes were proposed in this pull request? This PR adds try_make_timestamp, try_make_timestamp_ntz and try_make_timestamp_ltz expressions that set failOnError to false by default (ANSI compliant versions of related functions). ### Why are the changes needed? We need these functions in order to provide an alternative for the standard functions, that do not throw an error when ANSI is enabled. ### Does this PR introduce _any_ user-facing change? Yes, new expressions added. ### How was this patch tested? Unit tests were added. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #48624 from markonik-db/SPARK-50071-tryMakeTimestamp. Authored-by: Marko Nikacevic <[email protected]> Signed-off-by: Max Gekk <[email protected]>
- Loading branch information
1 parent
87f5a86
commit 9968a32
Showing
26 changed files
with
1,050 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.