-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(server-core,api-gateway): Allow manual rebuilding pre-aggregation partitions within date Range #9342
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
Conversation
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
igorlukanin
reviewed
Mar 13, 2025
igorlukanin
reviewed
Mar 13, 2025
ovr
reviewed
Mar 14, 2025
ovr
reviewed
Mar 14, 2025
ovr
reviewed
Mar 14, 2025
ovr
reviewed
Mar 14, 2025
ovr
reviewed
Mar 14, 2025
5775955 to
e1541d7
Compare
igorlukanin
approved these changes
Mar 18, 2025
ovr
approved these changes
Mar 18, 2025
marianore-muttdata
pushed a commit
to MuttData/cube
that referenced
this pull request
Jun 17, 2025
…n partitions within date Range (cube-js#9342) * spelling * add dateRange to PreAggsJobsRequest * pass dateRange to preAggregations(filter) * a bit of code polishment * add preAggsJobsRequestSchema validator * fix PreAggsJobsRequest types * specify type for parseLocalDate() * refresh only matched partitions * add html reporters * some code polishment * fix/add some tests to dateParser() * code polishment * add another check * add tests for api-gw preagg jobs endpoint * align refactor some types * code polish * refresh only matched partitions fix * code polish * add tests for pre-agg jobs * jest reporters * add tests for refreshScheduler.getCachedBuildJobs() * improve caching in pre-agg-load-cache * increase delay in tests to pass * use asyncDebounce for caching in pre-agg-load-cache * Revert "use asyncDebounce for caching in pre-agg-load-cache" This reverts commit a353cf1. * Revert "improve caching in pre-agg-load-cache" This reverts commit f8f640c. * set coverageReporters * add docs * fix regexp * fix dateParser + tests * fix preAggsJobsRequestSchema validator * fix error message Co-authored-by: Igor Lukanin <igor@cube.dev> * simplify regexp in dateParser * tests polish * little fix --------- Co-authored-by: Igor Lukanin <igor@cube.dev>
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.
This PR introduce new selector for jobs triggering: dateRange. If it is set (in addition to other selectors or standalone) then only partitions which intersect with it will be rebuilt.
Check List