- Notifications
You must be signed in to change notification settings - Fork 25.5k
ESQL: Enhanced DATE_TRUNC
with arbitrary intervals #120302
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
Merged
bpintea merged 36 commits into elastic:main from kanoshiou:arbitrary-intervals-of-month-year-buckets Apr 3, 2025
Merged
Changes from 5 commits
Commits
Show all changes
36 commits Select commit Hold shift + click to select a range
b125437
Add `multiplier` parameter to `roundFloor` method in `DateTimeUnit`
kanoshiou a8eb484
Update changelog
kanoshiou 060a5bb
Add tests for `DateUtils`
kanoshiou 6b94a67
Add tests for `DateTrunc`
kanoshiou f0b6ffa
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
kanoshiou 9ad78d4
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
bpintea 8ac8e01
Apply suggestions from code review
kanoshiou 32dfa96
Add `override` annotation
kanoshiou ac37cfa
Update testcases
kanoshiou 5c25ce3
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
kanoshiou 74d31da
Checkstyle
kanoshiou 650eed7
Add more tests
kanoshiou ddf2923
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
kanoshiou 585d4c0
reformat code
kanoshiou 6b1368b
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
kanoshiou 3214599
Resolve failing tests
kanoshiou 8f290e0
fix bwc
kanoshiou 1e4de28
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
kanoshiou eb77d06
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
kanoshiou e94b139
Update docs
kanoshiou db0afb3
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
kanoshiou 708c9af
Update changelog
kanoshiou 6bd9dfe
Merge branch 'refs/heads/main' into arbitrary-intervals-of-month-year…
kanoshiou d1d3ff6
Merge branch 'refs/heads/main' into arbitrary-intervals-of-month-year…
kanoshiou 2dd6c62
Update docs
kanoshiou abf55f5
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
bpintea 34e791f
Support for negative years
kanoshiou 03a4a2d
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
kanoshiou 05dbc3b
Update `DateTruncTests` + docs
kanoshiou ced2fdf
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
kanoshiou 3dccdd6
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
bpintea aaa8799
Update tests
kanoshiou b3f1026
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
bpintea 4874777
Minor performance improvement
kanoshiou dd3ec23
Comments
kanoshiou f9d170f
Merge branch 'main' into arbitrary-intervals-of-month-year-buckets
bpintea 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pr: 120302 | ||
summary: "ESQL: Support for arbitrary month and year intervals in `BUCKET`" | ||
area: ES|QL | ||
type: enhancement | ||
issues: | ||
- 120094 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.