-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-31797][SQL] Adds TIMESTAMP_SECONDS, TIMESTAMP_MILLIS and TIMESTAMP_MICROS functions #28534
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
18 commits
Select commit
Hold shift + click to select a range
5e60ec5
SPARK-31710: TIMESTAMP_SECONDS, TIMESTAMP_MILLISECONDS and TIMESTAMP_…
TJX2014 27a162b
improve code quality according to advices
TJX2014 f879987
code style improved and remove bad asInstanceOf etc
TJX2014 4c17d49
From a readability perspective it may be better to put the base class…
TJX2014 3411935
new exception check when overflow occur when multiply long and more p…
TJX2014 17a33f5
long overflow in datetime.sql added and pass the local test
TJX2014 344e5e1
test overflow condition fix, just small unit for per test
TJX2014 407dcfc
fix unit test failed due to string value in ExpressionDescription
TJX2014 944c644
regenerate sql-expression-schema.md
TJX2014 642668c
minimize code gen by judge equal 1 and remove duplicate unit test
TJX2014 62bf8b5
correct style of usage content
TJX2014 7da94b5
short name to MillisToTimestamp and MicrosToTimestamp
TJX2014 3704fee
correct short name in sql-expression-schema.md
TJX2014 f5b0a5a
function rename timestamp_microseconds to timestamp_micros and timest…
TJX2014 f4f7c35
disable cast string to long in number to timestamp
TJX2014 3c949ac
regenerate sql-expression-schema.md, UT added in DateExpressionsSuite
TJX2014 fdfd75c
UT style improve
TJX2014 f0cc631
UT style improve
TJX2014 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
62 changes: 61 additions & 1 deletion
62
sql/core/src/test/resources/sql-tests/results/ansi/datetime.sql.out
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
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.