@malloydata/malloy 0.0.105 → 0.0.106-dev231128205401
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.
- package/dist/malloy.js +4 -4
- package/package.json +1 -1
package/dist/malloy.js
CHANGED
|
@@ -1272,10 +1272,10 @@ class AtomicField extends Entity {
|
|
|
1272
1272
|
const resultMetadata = this.fieldTypeDef.resultMetadata;
|
|
1273
1273
|
// If field is joined-in from another table i.e. of type `tableName.columnName`,
|
|
1274
1274
|
// return sourceField, else return name because this could be a renamed field.
|
|
1275
|
-
return (resultMetadata === null || resultMetadata === void 0 ? void 0 : resultMetadata.sourceExpression) ||
|
|
1276
|
-
(resultMetadata === null || resultMetadata === void 0 ? void 0 : resultMetadata.sourceField.includes(dot))
|
|
1277
|
-
|
|
1278
|
-
|
|
1275
|
+
return ((resultMetadata === null || resultMetadata === void 0 ? void 0 : resultMetadata.sourceExpression) ||
|
|
1276
|
+
((resultMetadata === null || resultMetadata === void 0 ? void 0 : resultMetadata.sourceField.includes(dot))
|
|
1277
|
+
? resultMetadata === null || resultMetadata === void 0 ? void 0 : resultMetadata.sourceField
|
|
1278
|
+
: this.name));
|
|
1279
1279
|
}
|
|
1280
1280
|
get location() {
|
|
1281
1281
|
return this.fieldTypeDef.location;
|