-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-28687][SQL] Support epoch, isoyear, milliseconds and microseconds at extract()
#25408
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 all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
3991b67
Support microseconds arg at extract
MaxGekk 330a5f2
Support milliseconds arg at extract
MaxGekk 9c7de57
Support epoch
MaxGekk 0186274
Switch to decimal instead of double
MaxGekk 7bbfe1f
Support isoyear at extract
MaxGekk 90ebddb
Fix test for getEpoch
MaxGekk 296250e
Remove unused import
MaxGekk b97aadb
Tests for microseconds and milliseconds
MaxGekk 97a2c00
Merge remote-tracking branch 'remotes/origin/master' into extract-ext3
MaxGekk d16a6ed
Re-gen results for date.sql
MaxGekk 981cd73
Revert comment in date.sql
MaxGekk f152004
1 000 -> 1000, and 1 000 000 -> 1000000
MaxGekk f025e6e
Revert comments in date.sql
MaxGekk c0dea7b
Add a comment about type of epoch
MaxGekk 3c848e7
Use DECIMAL for milliseconds
MaxGekk caa5489
Support usec and msec
MaxGekk a317a64
Merge remote-tracking branch 'remotes/origin/master' into extract-ext3
MaxGekk 7fcb6a4
Add synonyms for microseconds and milliseconds
MaxGekk bdb2a11
Merge remote-tracking branch 'remotes/origin/master' into extract-ext3
MaxGekk c978b9b
Re-gen extract.sql.out
MaxGekk 153d2ff
Fix DateExpressionsSuite
MaxGekk 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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.