We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f1d55 commit 488aedfCopy full SHA for 488aedf
packages/cubejs-query-orchestrator/src/orchestrator/PreAggregations.ts
@@ -512,7 +512,7 @@ export class PreAggregations {
512
*/
513
public async checkPartitionsBuildRangeCache(queryBody) {
514
const preAggregations = queryBody.preAggregations || [];
515
- const result = await Promise.all(
+ return Promise.all(
516
preAggregations.map(async (preAggregation) => {
517
const { preAggregationStartEndQueries } = preAggregation;
518
const invalidate =
@@ -538,7 +538,6 @@ export class PreAggregations {
538
};
539
})
540
);
541
- return result;
542
}
543
544
public async expandPartitionsInPreAggregations(queryBody: Query): Promise<Query> {
0 commit comments