Skip to content

Commit

Permalink
fix: Clarify pre-aggregation build error messages
Browse files Browse the repository at this point in the history
Fixes #3469
  • Loading branch information
paveltiunov committed Nov 26, 2021
1 parent 331a819 commit cf17f64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class QueryOrchestrator {

const usedPreAggregations = R.fromPairs(preAggregationsTablesToTempTables);
if (this.rollupOnlyMode && Object.keys(usedPreAggregations).length === 0) {
throw new Error('No pre-aggregation exists for that query');
throw new Error('No pre-aggregation table has been built for this query yet. Please check your refresh worker configuration if it persists.');
}

if (!queryBody.query) {
Expand Down

0 comments on commit cf17f64

Please sign in to comment.