@malloydata/render 0.0.123-dev240209030627 → 0.0.123-dev240209165819
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.
|
@@ -56036,10 +56036,10 @@ QUERY: ${(0, util_1.inspect)(opDesc, { breakLength: 72, depth: Infinity })}`);
|
|
|
56036
56036
|
const e12 = partitionField.getField(fs);
|
|
56037
56037
|
if (e12.found === void 0) {
|
|
56038
56038
|
partitionField.log(`${partitionField.refString} is not defined`);
|
|
56039
|
-
} else if ((0, malloy_types_1.
|
|
56040
|
-
|
|
56039
|
+
} else if ((0, malloy_types_1.expressionIsAnalytic)(e12.found.typeDesc().expressionType) || (0, malloy_types_1.expressionIsUngroupedAggregate)(e12.found.typeDesc().expressionType)) {
|
|
56040
|
+
partitionField.log("Partition expression must be scalar or aggregate");
|
|
56041
56041
|
} else {
|
|
56042
|
-
partitionField.
|
|
56042
|
+
partitionByFields.push(partitionField.nameString);
|
|
56043
56043
|
}
|
|
56044
56044
|
}
|
|
56045
56045
|
}
|