Skip to content

Commit e7667a5

Browse files
committed
fix: Cannot read property 'timeDimensions' of null -- originalSql scheduledRefresh support
1 parent 63118cf commit e7667a5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/cubejs-schema-compiler/compiler/CubeEvaluator.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ class CubeEvaluator extends CubeSymbols {
5555
preAggregationName,
5656
preAggregation: preAggregations[preAggregationName],
5757
cube,
58-
references: preAggregations[preAggregationName].type === 'rollup' ?
59-
this.evaluatePreAggregationReferences(cube, preAggregations[preAggregationName]) :
60-
null
58+
references: this.evaluatePreAggregationReferences(cube, preAggregations[preAggregationName])
6159
}));
6260
}).reduce((a, b) => a.concat(b), []);
6361
}

0 commit comments

Comments
 (0)