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 581bdc7 commit 93ccc92Copy full SHA for 93ccc92
packages/cubejs-schema-compiler/src/compiler/utils.ts
@@ -54,6 +54,9 @@ export function camelizeCube(cube: any): unknown {
54
return cube;
55
}
56
57
+/**
58
+ * This is a simple cube-views topological sorting based on Kahn's algorythm.
59
+ */
60
export function topologicalSort(edges: GraphEdge[]): CubeDef[] {
61
const graph = new Map();
62
const outDegree = new Map();
0 commit comments