Skip to content

Commit

Permalink
fix: TypeError: Cannot read property \'replace\' of null for `schedul…
Browse files Browse the repository at this point in the history
…edRefresh: true`
  • Loading branch information
paveltiunov committed Apr 1, 2020
1 parent 134c4da commit ea88edf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cubejs-schema-compiler/adapter/BaseQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -1649,8 +1649,8 @@ class BaseQuery {
const timeDimension = this.newTimeDimension(references.timeDimensions[0]);

return this.evaluateSymbolSqlWithContext(() => [
this.paramAllocator.buildSqlAndParams(this.aggSelectForDimension(cube, timeDimension, 'min')),
this.paramAllocator.buildSqlAndParams(this.aggSelectForDimension(cube, timeDimension, 'max'))
this.paramAllocator.buildSqlAndParams(this.aggSelectForDimension(timeDimension.cube(), timeDimension, 'min')),
this.paramAllocator.buildSqlAndParams(this.aggSelectForDimension(timeDimension.cube(), timeDimension, 'max'))
], { preAggregationQuery: true });
}

Expand Down

0 comments on commit ea88edf

Please sign in to comment.