-
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
[Feature] Support jodatime_format function to partition pruning #52620
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
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
Show resolved
Hide resolved
ab5c8ba
to
51c8575
Compare
Signed-off-by: zhiminr.ren <1240388654@qq.com>
Signed-off-by: zhiminr.ren <1240388654@qq.com>
Signed-off-by: zhiminr.ren <1240388654@qq.com>
7a0188a
to
5d21686
Compare
Astralidea
previously approved these changes
Nov 5, 2024
Seaven
previously approved these changes
Nov 6, 2024
auto-merge was automatically disabled
November 7, 2024 04:36
Head branch was pushed to by a user without write access
Signed-off-by: zhiminr.ren <1240388654@qq.com>
76f878b
to
fc91bff
Compare
trueeyu
previously approved these changes
Nov 7, 2024
Seaven
previously approved these changes
Nov 7, 2024
@Mergifyio rebase main |
✅ Branch has been successfully rebased |
fc91bff
to
237bc03
Compare
Signed-off-by: zhiminr.ren <1240388654@qq.com>
237bc03
to
f0cd76f
Compare
Signed-off-by: zhiminr.ren <1240388654@qq.com>
Signed-off-by: zhiminr.ren <1240388654@qq.com>
Signed-off-by: zhiminr.ren <1240388654@qq.com>
Signed-off-by: zhiminr.ren <1240388654@qq.com>
Signed-off-by: zhiminr.ren <1240388654@qq.com>
fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
Outdated
Show resolved
Hide resolved
Signed-off-by: zhiminr.ren <1240388654@qq.com>
auto-merge was automatically disabled
November 12, 2024 01:38
Head branch was pushed to by a user without write access
|
murphyatwork
approved these changes
Nov 12, 2024
Youngwb
approved these changes
Nov 12, 2024
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
[FE Incremental Coverage Report]✅ pass : 9 / 9 (100.00%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
Seaven
approved these changes
Nov 14, 2024
1 task
@mergify backport branch-3.3 branch-3.2 |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Nov 15, 2024
Signed-off-by: zhiminr.ren <1240388654@qq.com> (cherry picked from commit f0ef59e)
mergify bot
pushed a commit
that referenced
this pull request
Nov 15, 2024
Signed-off-by: zhiminr.ren <1240388654@qq.com> (cherry picked from commit f0ef59e) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
This was referenced Nov 15, 2024
murphyatwork
pushed a commit
that referenced
this pull request
Nov 15, 2024
Signed-off-by: zhiminr.ren <1240388654@qq.com> (cherry picked from commit f0ef59e) Signed-off-by: Murphy <mofei@starrocks.com> # Conflicts: # fe/fe-core/src/main/java/com/starrocks/sql/optimizer/rewrite/ScalarOperatorFunctions.java
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:
dt=20241101
dt=20241102
dt=20241103
dt=20241104
dt=20241105
dt=20241106
select * from flight.zhimin_t where dt = jodatime_format('2024-11-02 15:58:51', 'yyyyMMdd')
What I'm doing:
增加jodatime_format转换方法
![image](https://private-user-images.githubusercontent.com/29918146/383134290-66d70c91-34ee-4868-82a8-0803a581f8e0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTgzNTUsIm5iZiI6MTczOTM1ODA1NSwicGF0aCI6Ii8yOTkxODE0Ni8zODMxMzQyOTAtNjZkNzBjOTEtMzRlZS00ODY4LTgyYTgtMDgwM2E1ODFmOGUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDExMDA1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBlZGE4MTdiMTY5MjRhZmEwYmU2MjEyYTc0NDEzNjU0NWJiYTE3YjU2MDA5NGFhMWFiMWZkZGVkNGQ3NTQwNjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.HzdEBrlqVa42KbzCxtBc5ZmWQntf5L2twiwBcYYYUew)
验证可以裁剪
Fixes #52680
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: