@malloydata/malloy 0.0.357 → 0.0.358
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.
|
@@ -105,6 +105,13 @@ class IndexBuilder {
|
|
|
105
105
|
? (_a = from.fieldUsage) !== null && _a !== void 0 ? _a : (0, composite_source_utils_1.emptyFieldUsage)()
|
|
106
106
|
: (0, composite_source_utils_1.emptyFieldUsage)();
|
|
107
107
|
indexSegment.fieldUsage = (0, composite_source_utils_1.mergeFieldUsage)(fromFieldUsage, this.fieldUsage);
|
|
108
|
+
// Index queries always compute an aggregate for weight (at minimum COUNT(*)).
|
|
109
|
+
// The compiler needs a uniqueKeyRequirement on the base path so that
|
|
110
|
+
// symmetric aggregation is enabled when joins are present.
|
|
111
|
+
indexSegment.fieldUsage.push({
|
|
112
|
+
path: [],
|
|
113
|
+
uniqueKeyRequirement: { isCount: true },
|
|
114
|
+
});
|
|
108
115
|
return indexSegment;
|
|
109
116
|
}
|
|
110
117
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MALLOY_VERSION = "0.0.
|
|
1
|
+
export declare const MALLOY_VERSION = "0.0.358";
|
package/dist/version.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MALLOY_VERSION = void 0;
|
|
4
4
|
// generated with 'generate-version-file' script; do not edit manually
|
|
5
|
-
exports.MALLOY_VERSION = '0.0.
|
|
5
|
+
exports.MALLOY_VERSION = '0.0.358';
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/malloy",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.358",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"generate-version-file": "VERSION=$(npm pkg get version --workspaces=false | tr -d \\\")\necho \"// generated with 'generate-version-file' script; do not edit manually\\nexport const MALLOY_VERSION = '$VERSION';\" > src/version.ts"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@malloydata/malloy-filter": "0.0.
|
|
51
|
-
"@malloydata/malloy-interfaces": "0.0.
|
|
52
|
-
"@malloydata/malloy-tag": "0.0.
|
|
50
|
+
"@malloydata/malloy-filter": "0.0.358",
|
|
51
|
+
"@malloydata/malloy-interfaces": "0.0.358",
|
|
52
|
+
"@malloydata/malloy-tag": "0.0.358",
|
|
53
53
|
"@noble/hashes": "^1.8.0",
|
|
54
54
|
"antlr4ts": "^0.5.0-alpha.4",
|
|
55
55
|
"assert": "^2.0.0",
|