-
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: vectorized builtinDateFormatSig #14934
Conversation
Codecov Report
@@ Coverage Diff @@
## master #14934 +/- ##
===========================================
Coverage 80.4123% 80.4123%
===========================================
Files 503 503
Lines 133232 133232
===========================================
Hits 107135 107135
Misses 17690 17690
Partials 8407 8407 |
Thanks for your contribution @lance6716, could you please post the benchmark result into your PR's description? |
done |
Sorry for my late reply, it's almost LGTM, please address the comment. @lance6716 |
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.
Rest LGTM
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.
LGTM
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.
LGTM
/run-all-tests |
@lance6716 merge failed. |
/run-integration-copr-test |
I couldn't understand the error log, please help me to clarify 😭 |
Don't worry, I'm investigating this problem now, it seems there are some bad cases... |
@lance6716 Friendly ping, #15263 has been merged, so please update your PR. |
/run-all-tests |
1 similar comment
/run-all-tests |
expression/builtin_time_vec.go
Outdated
result.AppendNull() | ||
|
||
if isOriginalIntOrDecimalZero && !isOriginalStringZero { | ||
continue | ||
} |
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.
result.AppendNull()
should be in this branch?
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.
vector based DATE_FORMAT will exit when encountered first handleInvalidTimeError
, is this the same behaviour with row based DATE_FORMAT?
/run-all-tests |
/run-integration-copr-test |
seems I can't use ⬇️ |
/run-all-tests |
I guess I forgot a |
/run-all-tests |
/run-all-tests |
Merged, thanks you @lance6716 :D |
Yes, in fact that's #14934 |
PCP #12106
What problem does this PR solve?
Implement builtinDateFormatSig vectorized function
What is changed and how it works?
Check List
Tests