File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
packages/cubejs-schema-compiler/src/compiler Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export class JoinGraph implements CompilerInterface {
61
61
this . graph = null ;
62
62
}
63
63
64
- public compile ( cubes : unknown , errorReporter : ErrorReporter ) : void {
64
+ public compile ( _cubes : unknown , errorReporter : ErrorReporter ) : void {
65
65
this . edges = R . compose <
66
66
Array < CubeDefinition > ,
67
67
Array < CubeDefinition > ,
@@ -159,17 +159,6 @@ export class JoinGraph implements CompilerInterface {
159
159
} ) ;
160
160
}
161
161
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
-
173
162
public buildJoin ( cubesToJoin : JoinHints ) : FinishedJoinTree | null {
174
163
if ( ! cubesToJoin . length ) {
175
164
return null ;
You can’t perform that action at this time.
0 commit comments