Skip to content

Commit 21ee2b2

Browse files
committed
[DEBUG] fix for dimensionOnlyMeasures
1 parent 3cc998d commit 21ee2b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/cubejs-schema-compiler/src/adapter/BaseQuery.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,10 +1156,11 @@ export class BaseQuery {
11561156
R.map(m => this.newMeasure(m))
11571157
);
11581158

1159+
// TODO dimensionOnlyMeasures should belong to proper subquery depending on join tree, not to regular measures
11591160
const multipliedMeasures = measuresToRender(true, false)(measureToHierarchy)
1160-
.concat(dimensionOnlyMeasures);
1161-
const regularMeasures = measuresToRender(false, false)(measureToHierarchy)
11621161
// .concat(dimensionOnlyMeasures);
1162+
const regularMeasures = measuresToRender(false, false)(measureToHierarchy)
1163+
.concat(dimensionOnlyMeasures);
11631164

11641165
const cumulativeMeasures =
11651166
R.pipe(

0 commit comments

Comments
 (0)