@malloydata/malloy 0.0.88 → 0.0.89-dev231003010614
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.
|
@@ -282,9 +282,12 @@ class QueryField extends QueryNode {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
generateFunctionCallExpression(resultSet, context, frag, state) {
|
|
285
|
+
var _a;
|
|
285
286
|
const overload = frag.overload;
|
|
286
287
|
const args = frag.args;
|
|
288
|
+
const isSymmetric = (_a = frag.overload.isSymmetric) !== null && _a !== void 0 ? _a : false;
|
|
287
289
|
const distinctKey = (0, malloy_types_1.expressionIsAggregate)(overload.returnType.expressionType) &&
|
|
290
|
+
!isSymmetric &&
|
|
288
291
|
this.generateDistinctKeyIfNecessary(resultSet, context, frag.structPath);
|
|
289
292
|
if (distinctKey) {
|
|
290
293
|
if (!context.dialect.supportsAggDistinct) {
|