@malloydata/malloy 0.0.121-dev240202151212 → 0.0.121-dev240202151424
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.
|
@@ -1267,7 +1267,7 @@ class FieldInstanceResultRoot extends FieldInstanceResult {
|
|
|
1267
1267
|
// group_by: user_id
|
|
1268
1268
|
// aggregate: order_count is orders.count()
|
|
1269
1269
|
if (join.leafiest) {
|
|
1270
|
-
if (join.parent !==
|
|
1270
|
+
if (join.parent !== undefined &&
|
|
1271
1271
|
join.uniqueKeyPossibleUses.has('count') &&
|
|
1272
1272
|
!join.queryStruct.primaryKey()) {
|
|
1273
1273
|
join.makeUniqueKey = true;
|