forked from apache/datafusion-comet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement Spark-compatible CAST from string to timestamp types (a…
…pache#335) * casting str to timestamp * fix format * fixing failed tests, using char as pattern * bug fixes * hangling microsecond * make format * bug fixes and core refactor * format code * removing print statements * clippy error * enabling cast timestamp test case * code refactor * comet spark test case * adding all the supported format in test * fallback spark when timestamp not utc * bug fix * bug fix * adding an explainer commit * fix test case * bug fix * bug fix * better error handling for unwrap in fn parse_str_to_time_only_timestamp * remove unwrap from macro * improving error handling * adding tests for invalid inputs * removed all unwraps from timestamp cast functions * code format
- Loading branch information
1 parent
b48f8f3
commit 8298695
Showing
3 changed files
with
391 additions
and
8 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
Oops, something went wrong.