-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
expression: handle duration type infer in least and greatest #22271
Merged
Merged
Changes from 43 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
dbde297
fix type infer for tidb's builin comparision
iosmanthus bc96775
recover tests
iosmanthus 6e3f42b
fix least/greatest time sig
iosmanthus 81d2695
fix least/greatest tests
iosmanthus 27260de
fix between's unit tests
iosmanthus 3bd76e6
fix offset issue of result type infer
iosmanthus b75c72c
fix between type infer
iosmanthus 105ae59
fix go linter warnings
iosmanthus eada947
Merge branch 'master' of github.com:pingcap/tidb into fix-least-and-g…
iosmanthus a557aa0
fix IsTypeInteger redeclared
iosmanthus df08d5c
fix make check
iosmanthus c9df2d1
add unit tests for #issues/19534
iosmanthus fc83f3e
forbid json comparison in least/greatest and emit warnings
iosmanthus 866a757
fix make check
iosmanthus 54ebcb6
Merge branch 'master' of github.com:pingcap/tidb into fix-least-and-g…
iosmanthus b862617
Merge branch 'master' into fix-least-and-greatest
iosmanthus c11f925
Merge branch 'master' into fix-least-and-greatest
zhouqiang-cl d3e984b
vectorize the scalar version of 'least/greatest time' function
iosmanthus 2c8a389
Merge branch 'fix-least-and-greatest' of github.com:iosmanthus/tidb i…
iosmanthus 8387a31
Merge branch 'master' of github.com:pingcap/tidb into fix-least-and-g…
iosmanthus 7f9532e
go fmt
iosmanthus 61f4d68
Merge branch 'master' of github.com:pingcap/tidb into fix-least-and-g…
iosmanthus bc2f43f
address @XuHuaiyu's comments
iosmanthus ce9e269
Merge branch 'master' of github.com:pingcap/tidb into fix-least-and-g…
iosmanthus 245a92c
gofmt
iosmanthus b265b8f
remove extra condition in unsupportedJSONComparison
iosmanthus 4dbdfe3
use IsStringLike() instead of ResultMergeType
iosmanthus 5ae26ae
Merge branch 'master' into fix-least-and-greatest
XuHuaiyu bb3c249
Merge branch 'master' of github.com:pingcap/tidb into fix-least-and-g…
iosmanthus 5a58c5c
fix nil pointer access in getBaseCmpType
iosmanthus 0432977
Merge branch 'fix-least-and-greatest' of github.com:iosmanthus/tidb i…
iosmanthus 8a755f4
Merge branch 'master' into fix-least-and-greatest
ti-srebot 406c3c9
catch unhandled type case in least/greatest
iosmanthus 080a39f
catch unhandled type case in greatest
iosmanthus 734ed1f
add duration test cases for least/greatest
iosmanthus d3b0651
Merge branch 'master' of github.com:pingcap/tidb into fix-least-and-g…
iosmanthus 45f2413
Merge branch 'master' into fix-least-and-greatest
iosmanthus 3b1adbc
Merge branch 'master' of github.com:pingcap/tidb into fix-least-and-g…
iosmanthus 54337c9
add some comments to resolveType4Extremum
iosmanthus 7f5ac3f
Merge branch 'fix-least-and-greatest' of github.com:iosmanthus/tidb i…
iosmanthus 956622c
Merge branch 'master' into fix-least-and-greatest
iosmanthus ca72705
merge upstream/master
iosmanthus 541a4c2
Merge branch 'master' into fix-least-and-greatest
iosmanthus a97570e
address @wsh's comments
iosmanthus aa575c7
Merge branch 'fix-least-and-greatest' of github.com:iosmanthus/tidb i…
iosmanthus b7681ca
Merge branch 'master' into fix-least-and-greatest
ti-srebot 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
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.
Please add some comments about why do we need to do 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.
OK.