@cubejs-backend/query-orchestrator
Advanced tools
Comparing version 0.18.13 to 0.18.17
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.18.17](https://github.com/cube-js/cube.js/compare/v0.18.16...v0.18.17) (2020-03-24) | ||
### Features | ||
* More places to fetch `readOnly` pre-aggregations flag from ([9877037](https://github.com/cube-js/cube.js/commit/9877037)) | ||
## [0.18.13](https://github.com/cube-js/cube.js/compare/v0.18.12...v0.18.13) (2020-03-21) | ||
@@ -8,0 +19,0 @@ |
@@ -377,7 +377,10 @@ const crypto = require('crypto'); | ||
if (this.preAggregation.external) { | ||
refreshStrategy = client.readOnly && client.readOnly() ? | ||
const readOnly = | ||
client.config && client.config.readOnly || | ||
client.readOnly && (typeof client.readOnly === 'boolean' ? client.readOnly : client.readOnly()); | ||
refreshStrategy = readOnly ? | ||
this.refreshImplStreamExternalStrategy : this.refreshImplTempTableExternalStrategy; | ||
} | ||
const resultPromise = refreshStrategy.bind(this)(client, newVersionEntry); | ||
resultPromise.cancel = () => {} // TODO implement cancel (loading rollup into table and external upload) | ||
resultPromise.cancel = () => {}; // TODO implement cancel (loading rollup into table and external upload) | ||
return resultPromise; | ||
@@ -384,0 +387,0 @@ }; |
@@ -5,3 +5,3 @@ { | ||
"author": "Statsbot, Inc.", | ||
"version": "0.18.13", | ||
"version": "0.18.17", | ||
"repository": { | ||
@@ -29,3 +29,3 @@ "type": "git", | ||
"license": "Apache-2.0", | ||
"gitHead": "035d89ebb84f0d174a221d7eab8aadff61f17ec8" | ||
"gitHead": "f574c7908d9bb1feec13e69fe2396f9f15203270" | ||
} |
162666
2325