Skip to content

Commit c11c2a6

Browse files
committed
remove obsolete
1 parent 1f555b9 commit c11c2a6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/cubejs-schema-compiler/src/adapter/PreAggregations.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ export class PreAggregations {
998998
if (!nonExistingJoins.length) {
999999
throw new UserError(`Nothing to join in rollup join. Target joins ${JSON.stringify(targetJoins)} are included in existing rollup joins ${JSON.stringify(existingJoins)}`);
10001000
}
1001-
const rollupJoin = nonExistingJoins.map(join => {
1001+
return nonExistingJoins.map(join => {
10021002
const fromPreAggObj = this.preAggObjForJoin(preAggObjsToJoin, join.fromMembers, join);
10031003
const toPreAggObj = this.preAggObjForJoin(preAggObjsToJoin, join.toMembers, join);
10041004
return {
@@ -1007,8 +1007,6 @@ export class PreAggregations {
10071007
toPreAggObj
10081008
};
10091009
});
1010-
1011-
return rollupJoin;
10121010
}
10131011
);
10141012
}

0 commit comments

Comments
 (0)