-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Enhancement]implement to_days function in FE #51455
Conversation
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
Show resolved
Hide resolved
0a4fbb7
to
32ab9a0
Compare
Signed-off-by: evenhuang <[email protected]>
32ab9a0
to
d07b3d1
Compare
Quality Gate passedIssues Measures |
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 4 / 4 (100.00%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.3 |
@Mergifyio backport branch-3.2 |
@Mergifyio backport branch-3.1 |
@Mergifyio backport branch-3.0 |
@Mergifyio backport branch-2.5 |
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
Signed-off-by: evenhuang <[email protected]> (cherry picked from commit dfb309d)
Signed-off-by: evenhuang <[email protected]> (cherry picked from commit dfb309d)
Signed-off-by: evenhuang <[email protected]> (cherry picked from commit dfb309d) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
Signed-off-by: evenhuang <[email protected]> (cherry picked from commit dfb309d) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
Signed-off-by: evenhuang <[email protected]> (cherry picked from commit dfb309d) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
ignore backport check: 3.3.5 |
Signed-off-by: evenhuang <[email protected]> Signed-off-by: zhiminr.ren <[email protected]>
Why I'm doing:
If the where condition contains a partition condition that is compared with the to_days function, a full table scan will be required, and FE is required to implement the to_days function to perform partition pruning when generating the execution plan.
What I'm doing:
implement to_days function in FE
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: