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 ee91874 commit e5abed3Copy full SHA for e5abed3
packages/cubejs-schema-compiler/src/adapter/BaseQuery.js
@@ -1429,6 +1429,10 @@ export class BaseQuery {
1429
return baseQueryFn(cumulativeMeasures, filters, false);
1430
}
1431
1432
+ if (this.timeDimensions.filter(d => !d.dateRange && d.granularity).length > 0) {
1433
+ throw new UserError('Time series queries without dateRange aren\'t supported');
1434
+ }
1435
+
1436
// We can't do meaningful query if few time dimensions with different ranges passed,
1437
// it won't be possible to join them together without loosing some rows.
1438
const rangedTimeDimensions = this.timeDimensions.filter(d => d.dateRange && d.granularity);
0 commit comments