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 9131d79 commit 3889a4eCopy full SHA for 3889a4e
packages/cubejs-schema-compiler/src/adapter/PreAggregations.ts
@@ -112,6 +112,8 @@ export class PreAggregations {
112
113
return R.pipe(
114
R.unnest as (list: any[][]) => any[],
115
+ // TODO: Move this to somewhere BEFORE pre-agg matching, possibly to rollupMatchResults()
116
+ // to avoid constly matching and then throwing it away.
117
R.filter((agg: FullPreAggregationDescription) => !(disableExternalPreAggregations && agg.external)),
118
R.uniqBy(desc => desc.tableName)
119
)(preAggregations);
0 commit comments