-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Split by range of instant queries #5662
Merged
+1,893
−2
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
63e9ba6
Split by range on Instant queries POC v3
ssncferreira c7569c3
Handle uneven split by duration
ssncferreira 473465c
Register SplitByRangeMiddleware in roundtripper
chaudum f364e1b
fixup! Register SplitByRangeMiddleware in roundtripper
chaudum a02aa87
fixup! fixup! Register SplitByRangeMiddleware in roundtripper
chaudum a34cb03
Remove rewrite if range aggr has label extraction stage
chaudum f78a470
Fix linting
ssncferreira 9c96c37
Implement range splitting for rate() and bytes_rate()
chaudum 60c5781
Fix linting
ssncferreira ce6663d
Calculate offset of downstream queries correctly
chaudum a649930
Fix linting
ssncferreira f2c6ac6
Add optimization by moving the outer label grouping downstream
ssncferreira 98ac288
Add label grouping downstream optimization to rate and bytes_rate exp…
ssncferreira 98f3dc4
Add changelog entry
chaudum 6d0eaa2
Simplify types in rangemapper
chaudum 749eb6a
fixup! Simplify types in rangemapper
chaudum b3f2b21
Check in Map function if query is splittable by range
chaudum 0148380
Some code cleanups and variable renaming
chaudum aa6736f
Extract duplicate code in range aggr mapping into function
chaudum 5037439
Add topk to supported splittable vector aggregations
chaudum c4d3e3f
Check if query is splittable by range before calling Map()
chaudum 3362f5c
Add more function comments
chaudum 53f16be
Rename RangeVectorMapper to RangeMapper
chaudum 98cf3bc
Fix incorrect import due to rebase
chaudum f6d10db
Add equivalence test cases with `logfmt` pipeline stage
chaudum 10f0208
Remove limitation of pushing down vector aggr only if grouping is pre…
chaudum cf4be23
Remove TestRangeMappingEquivalenceMockMapper test
chaudum 9cb483c
fixup! Remove limitation of pushing down vector aggr only if grouping…
chaudum 93c0268
fixup! fixup! Remove limitation of pushing down vector aggr only if g…
chaudum f607dfe
Fix linter errors
chaudum e031615
Better naming of variable
chaudum 8267d00
Split SplitRangeVectorMapping test into two
chaudum 4225c90
Merge branch 'main' into instant-query-splitting-v3-optimizations
owen-d 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 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.
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.
I'd like to see some successful topk.
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.
Let's do it in a 2nd iteration :)