Skip to content

Commit 8a4eb9c

Browse files
committed
remove unused
1 parent 2946554 commit 8a4eb9c

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

packages/cubejs-schema-compiler/src/compiler/JoinGraph.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class JoinGraph implements CompilerInterface {
6161
this.graph = null;
6262
}
6363

64-
public compile(cubes: unknown, errorReporter: ErrorReporter): void {
64+
public compile(_cubes: unknown, errorReporter: ErrorReporter): void {
6565
this.edges = R.compose<
6666
Array<CubeDefinition>,
6767
Array<CubeDefinition>,
@@ -159,17 +159,6 @@ export class JoinGraph implements CompilerInterface {
159159
});
160160
}
161161

162-
protected buildJoinNode(cube: CubeDefinition): Record<string, 1> {
163-
if (!cube.joins) {
164-
return {};
165-
}
166-
167-
return cube.joins.reduce((acc, join) => {
168-
acc[join.name] = 1;
169-
return acc;
170-
}, {} as Record<string, 1>);
171-
}
172-
173162
public buildJoin(cubesToJoin: JoinHints): FinishedJoinTree | null {
174163
if (!cubesToJoin.length) {
175164
return null;

0 commit comments

Comments
 (0)