-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
[SPARK-31710][SQL] Fail casting numeric to timestamp by default #28593
Closed
Closed
Changes from 3 commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
bb1efa2
Merge pull request #1 from apache/master
GuoPhilipse 1459d5b
Merge pull request #2 from apache/master
GuoPhilipse 88c40fe
Merge pull request #3 from apache/master
GuoPhilipse 8d1deee
fail casting from integral to timestamp
GuoPhilipse df22083
Merge pull request #4 from apache/master
GuoPhilipse a02c6c7
'fix-testcase-fail'
GuoPhilipse e61c484
'add-restore-flag'
GuoPhilipse d99cc30
'fix-space'
GuoPhilipse 0436611
Merge pull request #5 from apache/master
GuoPhilipse 0a1a6a5
fix code style
GuoPhilipse ed80c84
Merge pull request #6 from apache/master
GuoPhilipse bae99b1
fix code style
GuoPhilipse 39da7be
improve code
GuoPhilipse 39ca87c
Merge pull request #7 from apache/master
GuoPhilipse 0189b91
fix test cases failure
GuoPhilipse 2c29c5b
fix test name
GuoPhilipse fd3efa2
fix test case error
GuoPhilipse 69198c6
Merge branch 'master' into 31710-fix-compatibility
GuoPhilipse c3b3c89
Merge pull request #8 from apache/master
GuoPhilipse 38f6e64
fix test case error
GuoPhilipse 43f9b4e
Merge branch '31710-fix-compatibility' of https://github.com/GuoPhili…
GuoPhilipse 852d730
fix cmd to bash
GuoPhilipse 2e55be3
fix scala style
GuoPhilipse 7637256
fix error test case
GuoPhilipse 87cada7
fix scala style
GuoPhilipse 13ae816
fix fail test cases
GuoPhilipse 4abd8d3
fix scala style
GuoPhilipse b13316f
fix error test case
GuoPhilipse 50cc0cf
fix scala style
GuoPhilipse 22638e4
fix test case error
GuoPhilipse b1dda01
fix test case error
GuoPhilipse 38f0e76
fix test case error
GuoPhilipse e478c90
fix pyspark test error
GuoPhilipse 7348917
fix python style
GuoPhilipse e50e5cb
annotation examples casting from long to timestamp
GuoPhilipse 2344e1f
fix pyspark test error
GuoPhilipse c3546eb
Merge pull request #9 from apache/master
GuoPhilipse c7cf8b9
Merge branch 'master' of https://github.com/GuoPhilipse/spark into 31…
GuoPhilipse 5f138af
fix to_date using cast long to timestamp
GuoPhilipse 77a339a
Merge pull request #10 from apache/master
GuoPhilipse 3a3b93e
Merge branch 'master' of https://github.com/GuoPhilipse/spark into 31…
GuoPhilipse a6b4f74
Merge pull request #11 from apache/master
GuoPhilipse 1b52fd6
submit to local
GuoPhilipse 293fa9f
Merge branch 'master' of https://github.com/GuoPhilipse/spark into 31…
GuoPhilipse 9cf87e8
extend functions and use new functions
GuoPhilipse cb21d5d
fix code style.etc
GuoPhilipse 726371c
fix code style
GuoPhilipse 8ed4fc4
fix doc format.etc
GuoPhilipse 96c197c
fix testcase error
GuoPhilipse 3d1819d
failed test case
GuoPhilipse be88f01
fix testcase error
GuoPhilipse fd7815a
fix find no test result problem
GuoPhilipse e14c4f9
fix find no test result problem
GuoPhilipse 7cb0a54
fix testcase error
GuoPhilipse 7ad82da
fix found no test result file
GuoPhilipse 00ed960
fix test case error
GuoPhilipse 664277e
Merge pull request #12 from apache/master
GuoPhilipse 6d9eecb
Merge branch 'master' of https://github.com/GuoPhilipse/spark into 31…
GuoPhilipse b8b2919
fix test case fail
GuoPhilipse eeb0a61
fix test case fail
GuoPhilipse 409c821
fix check spark streaming ui timeout
GuoPhilipse ec2cf54
fix additional space
GuoPhilipse 3fd6d02
fix test case fail
GuoPhilipse fd677c9
Merge pull request #13 from apache/master
GuoPhilipse 108dfea
merge
GuoPhilipse 47f210c
fix test error.etc
GuoPhilipse 860500d
fix test error.etc
GuoPhilipse 4c7ddb4
revert support fraction types.etc
GuoPhilipse b43a140
remove useless space
GuoPhilipse 1d5c750
fix code style.etc
GuoPhilipse 7b26d0c
remove duplicated test cases
GuoPhilipse c7f2a9b
fix python style
GuoPhilipse 8a5e9be
fix code style
GuoPhilipse 93b1f63
Merge pull request #14 from apache/master
GuoPhilipse a6a9bd4
fix failed test case
GuoPhilipse a5b5474
Merge pull request #15 from apache/master
GuoPhilipse 4fecf9b
Merge branch 'master' of https://github.com/GuoPhilipse/spark into 31…
GuoPhilipse f995f46
rebase
GuoPhilipse c8d5aa5
rebase
GuoPhilipse b4f4d53
delete test file
GuoPhilipse f4556a4
Merge pull request #16 from apache/master
GuoPhilipse f4da70b
rebase latest code
GuoPhilipse 7132fca
rebase lastet code
GuoPhilipse 7ffcde2
fix error cases
GuoPhilipse f84caa1
fix error cases
GuoPhilipse 6d56a83
fix error cases
GuoPhilipse 5716f40
remove cmd test
GuoPhilipse 64acff3
'empty'
GuoPhilipse d26bd34
fix test case error
GuoPhilipse 9545c9f
delete test file
GuoPhilipse 01f42e6
fix python style
GuoPhilipse e29409d
fix python style
GuoPhilipse 183d418
trigger rebuild
GuoPhilipse 1764c76
fix python style
GuoPhilipse 74eb6ca
improve python style
GuoPhilipse 5f06714
fix python style
GuoPhilipse 8fe1960
improve test queality
GuoPhilipse ffa3079
remove unnecessary commit
GuoPhilipse bc4b62c
remove test file
GuoPhilipse 08aee30
improve test case
GuoPhilipse 12b4239
improve test case
GuoPhilipse 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 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
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.
let's forbid fraction as well.
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.
and provide a legacy config to restore the old behavior.
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.
ok , will correct it
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.
do you need forbiding casting timestamp to numeric type at the same time,maybe someone will complain about it later