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 c39c598 commit 97d66e8Copy full SHA for 97d66e8
packages/cubejs-schema-compiler/src/compiler/JoinGraph.ts
@@ -57,6 +57,7 @@ export class JoinGraph {
57
this.edges = {};
58
this.builtJoins = {};
59
this.cachedConnectedComponents = null;
60
+ this.graph = null;
61
}
62
63
public compile(cubes: unknown, errorReporter: ErrorReporter): void {
@@ -240,7 +241,7 @@ export class JoinGraph {
240
241
prevNode = toJoin;
242
return { joins: [] };
243
- const path = this.graph.path(prevNode, toJoin);
244
+ const path = this.graph.path(prevNode, toJoin) as string[] | null;
245
if (!path) {
246
return null;
247
0 commit comments