-
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: implement vectorized evaluation for builtinDayNameSig
#12401
Merged
+84
−4
Merged
Changes from 33 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
90c75c7
add builtinDayNameSig
b41sh 0ee1ef4
merge
b41sh 9cde7e1
Merge branch 'master' into vecexpr-builtinDayNameSig
b41sh 98b254a
Merge branch 'master' into vecexpr-builtinDayNameSig
b41sh c23e6ba
refactor
b41sh f75b4f7
Merge branch 'master' into vecexpr-builtinDayNameSig
b41sh 92f930f
fix
b41sh 63a435a
update test case
b41sh ee0a6b2
Merge branch 'master' into vecexpr-builtinDayNameSig
b41sh 713a1d5
Merge branch 'master' into vecexpr-builtinDayNameSig
b41sh 45430b4
update
b41sh f4818a3
Merge branch 'master' of https://github.com/pingcap/tidb into vecexpr…
b41sh 21af6e5
Merge branch 'master' into vecexpr-builtinDayNameSig
qw4990 1096080
Merge branch 'vecexpr-builtinDayNameSig' of https://github.com/b41sh/…
b41sh 663ff9a
Merge branch 'master' of https://github.com/pingcap/tidb into vecexpr…
b41sh 6587c86
update
b41sh 3dbbf3c
use callback func
b41sh 5617a72
Merge branch 'master' of https://github.com/pingcap/tidb into vecexpr…
b41sh b5a6029
merge
b41sh 7e12b4a
Merge branch 'master' of https://github.com/pingcap/tidb into vecexpr…
b41sh 16d784c
Merge branch 'master' of https://github.com/pingcap/tidb into vecexpr…
b41sh 55eaf2e
Merge branch 'master' of https://github.com/pingcap/tidb into vecexpr…
b41sh 9105876
dayname special case
b41sh 653cbf1
Merge branch 'master' into vecexpr-builtinDayNameSig
b41sh 65f1c09
fix
b41sh d4d3a53
Merge branch 'master' into vecexpr-builtinDayNameSig
b41sh 490cb5c
remove dayname int real testcase
b41sh ced7a55
Merge branch 'master' into vecexpr-builtinDayNameSig
b41sh c13830f
fix
b41sh 352dc8e
Merge branch 'master' into vecexpr-builtinDayNameSig
b41sh 1ff3920
Merge branch 'master' of https://github.com/pingcap/tidb into vecexpr…
b41sh cf05c71
fix retType err
b41sh b683d66
Merge branch 'master' into vecexpr-builtinDayNameSig
qw4990 30dd83e
Merge branch 'master' into vecexpr-builtinDayNameSig
qw4990 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.
After investigating, we found this is the root cause resulting in the CI problem when setting the
RetType
ofDayName
toInt
orReal
.The actual
RetType
of thisexpr
has been modified toString
but we prepare anInt/Real
column to store its data, which causes panic when accessingColumn.offset
.Only in the test function
TestVectorizedBuiltinTimeEvalOneVec
, theRetType
will be modified, while in another functionTestVectorizedBuiltinTimeFunc
, theRetType
is stillInt
, so these test cases whoseRetType
isInt
orReal
work.PTAL @SunRunAway