-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Enhancement] Support yearweek
function to do const folding
#52714
Merged
Conversation
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
Signed-off-by: yanz <[email protected]>
Seaven
reviewed
Nov 8, 2024
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
Outdated
Show resolved
Hide resolved
Signed-off-by: yanz <[email protected]>
dirtysalt
force-pushed
the
const-fold-yearweek
branch
from
November 8, 2024 03:10
efcb12c
to
116b1f8
Compare
Quality Gate passedIssues Measures |
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]❌ fail : 10 / 16 (62.50%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
LiShuMing
approved these changes
Nov 8, 2024
@@ -0,0 +1,4920 @@ | |||
0 1900-01-08 00:00:00 190001 1900-12-24 00:00:00 190051 2000-01-08 00:00:00 200001 2000-12-24 00:00:00 200052 |
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.
Very impressive cases!
stephen-shelby
approved these changes
Nov 8, 2024
silverbullet233
approved these changes
Nov 8, 2024
Seaven
approved these changes
Nov 8, 2024
@Mergifyio backport branch-3.3 |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Nov 8, 2024
Signed-off-by: yanz <[email protected]> (cherry picked from commit 6425ac1)
42 tasks
wanpengfei-git
pushed a commit
that referenced
this pull request
Nov 8, 2024
#52714) (#52732) Co-authored-by: RyanZ <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why I'm doing:
It's like #47365
What I'm doing:
Do const folding of
yearweek
at FE level, could lead to potential partition pruning at plan stage.Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: