-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
api:orchestrationIssues related to Orchestration APIIssues related to Orchestration APIenhancementLEGACY. Use the Feature issue type insteadLEGACY. Use the Feature issue type insteadhelp wantedCommunity contributions are welcome.Community contributions are welcome.pre-aggregationsIssues related to pre-aggregationsIssues related to pre-aggregations
Description
Is your feature request related to a problem? Please describe.
We want to trigger rebuild of specific partitions of partitioned pre-aggregations using the Orchestrator API.
Describe the solution you'd like
Extend the cubejs-api/v1/pre-aggregations/jobs endpoint, so that selector.preAggregations is an object which accepts a list of patitions:
Example:
"selector": {
"contexts": [{ "securityContext": {} }],
"timezones": ["UTC"],
"preAggregations": [
{
"name":"orders.main",
"partitions": [....]
}
}
Describe alternatives you've considered
There is no real alternative to build specific partitions.
Additional context
In our pipeline (DBT), we have the knowledge about which partition became stale, so that cube has to rebuild the pre-aggregation cache for this specific partition.
arch-android, AmandineScopely, svdimchenko, tomsej, raghuveer-s and 2 more
Metadata
Metadata
Assignees
Labels
api:orchestrationIssues related to Orchestration APIIssues related to Orchestration APIenhancementLEGACY. Use the Feature issue type insteadLEGACY. Use the Feature issue type insteadhelp wantedCommunity contributions are welcome.Community contributions are welcome.pre-aggregationsIssues related to pre-aggregationsIssues related to pre-aggregations