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 0a660b6 commit 2476b90Copy full SHA for 2476b90
packages/cubejs-schema-compiler/src/adapter/BaseQuery.js
@@ -1480,6 +1480,10 @@ export class BaseQuery {
1480
return baseQueryFn(cumulativeMeasures, filters, false);
1481
}
1482
1483
+ if (this.timeDimensions.filter(d => !d.dateRange && d.granularity).length > 0) {
1484
+ throw new UserError('Time series queries without dateRange aren\'t supported');
1485
+ }
1486
+
1487
// We can't do meaningful query if few time dimensions with different ranges passed,
1488
// it won't be possible to join them together without loosing some rows.
1489
const rangedTimeDimensions = this.timeDimensions.filter(d => d.dateRange && d.granularity);
0 commit comments