@malloydata/render 0.0.123-dev240205203117 → 0.0.123-dev240205203120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1355,9 +1355,6 @@
|
|
|
1355
1355
|
case "function_parameter":
|
|
1356
1356
|
case "parameter":
|
|
1357
1357
|
case "outputField":
|
|
1358
|
-
case "source-reference":
|
|
1359
|
-
case "aggregate_limit":
|
|
1360
|
-
case "aggregate_order_by":
|
|
1361
1358
|
return fragment2;
|
|
1362
1359
|
case "sql-string":
|
|
1363
1360
|
return {
|
|
@@ -1464,9 +1461,6 @@
|
|
|
1464
1461
|
case "function_parameter":
|
|
1465
1462
|
case "parameter":
|
|
1466
1463
|
case "outputField":
|
|
1467
|
-
case "source-reference":
|
|
1468
|
-
case "aggregate_limit":
|
|
1469
|
-
case "aggregate_order_by":
|
|
1470
1464
|
return fragment;
|
|
1471
1465
|
case "function_call":
|
|
1472
1466
|
return {
|
|
@@ -1540,7 +1534,7 @@
|
|
|
1540
1534
|
}
|
|
1541
1535
|
}
|
|
1542
1536
|
default:
|
|
1543
|
-
throw new Error(
|
|
1537
|
+
throw new Error("unexpected");
|
|
1544
1538
|
}
|
|
1545
1539
|
});
|
|
1546
1540
|
}
|
|
@@ -55320,7 +55314,7 @@ QUERY: ${(0, util_1.inspect)(opDesc, { breakLength: 72, depth: Infinity })}`);
|
|
|
55320
55314
|
};
|
|
55321
55315
|
structPath = this.source.path;
|
|
55322
55316
|
const joinUsage = this.getJoinUsage(inputFS);
|
|
55323
|
-
const allUsagesSame = joinUsage.length === 1 || joinUsage.
|
|
55317
|
+
const allUsagesSame = joinUsage.length === 1 || joinUsage.slice(1).every((p3) => joinPathEq(p3, joinUsage[0]));
|
|
55324
55318
|
if (allUsagesSame) {
|
|
55325
55319
|
structPath = joinUsage[0].map((p3) => p3.name);
|
|
55326
55320
|
sourceRelationship = joinUsage[0];
|
|
@@ -55462,13 +55456,6 @@ QUERY: ${(0, util_1.inspect)(opDesc, { breakLength: 72, depth: Infinity })}`);
|
|
|
55462
55456
|
result.push(def2.relationship);
|
|
55463
55457
|
}
|
|
55464
55458
|
}
|
|
55465
|
-
} else if (frag.type === "source-reference") {
|
|
55466
|
-
if (frag.path) {
|
|
55467
|
-
const def2 = lookup6(fs, frag.path);
|
|
55468
|
-
result.push(def2.relationship);
|
|
55469
|
-
} else {
|
|
55470
|
-
result.push([]);
|
|
55471
|
-
}
|
|
55472
55459
|
}
|
|
55473
55460
|
}
|
|
55474
55461
|
});
|