-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-35111][SQL] Support Cast string to year-month interval #32266
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
9546a0f
[SPARK-35111][SQL] Support Cast string to year-month interval
AngersZhuuuu 691c1f4
Update CastSuite.scala
AngersZhuuuu f5b02ee
Update CastSuite.scala
AngersZhuuuu 15424a7
Update IntervalUtils.scala
AngersZhuuuu 879817b
Update CastSuite.scala
AngersZhuuuu 62d175b
Update CastSuite.scala
AngersZhuuuu 2c75bba
save
AngersZhuuuu 5b134fa
Merge branch 'master' into SPARK-SPARK-35111
AngersZhuuuu 6d14414
Update CastSuite.scala
AngersZhuuuu d19bbc8
Update Cast.scala
AngersZhuuuu ff904a1
save
AngersZhuuuu d0e30e4
Merge branch 'master' into SPARK-SPARK-35111
AngersZhuuuu 3b84baa
follow comment
AngersZhuuuu b05f7e6
update
AngersZhuuuu 25c08e0
Update IntervalUtils.scala
AngersZhuuuu f636d41
update
AngersZhuuuu ce69004
Update CastSuite.scala
AngersZhuuuu 092d01a
Update IntervalUtils.scala
AngersZhuuuu f088f64
Update IntervalUtils.scala
AngersZhuuuu 80499b8
Update IntervalUtils.scala
AngersZhuuuu ca19c09
Update IntervalUtils.scala
AngersZhuuuu 3df92b6
Update Cast.scala
AngersZhuuuu 3adde87
Update IntervalUtils.scala
AngersZhuuuu 0f82987
follow comment
AngersZhuuuu 2c8785b
Update CastSuite.scala
AngersZhuuuu 253c70e
follow comment
AngersZhuuuu 9c70b88
Update IntervalUtils.scala
AngersZhuuuu 5ca83ab
update
AngersZhuuuu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update IntervalUtils.scala
- Loading branch information
commit 15424a75adac714f38aca0615ae92362ba34d31b
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need a new regex?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since yearMonthPattern only support
[+|-]yy-mmmmThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do we want to support here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am discussing this here #32266 (comment) with @MaxGekk ,
Do you have any other supplementary suggestions?