@malloydata/malloy 0.0.240-dev250305213425 → 0.0.240-dev250308020308
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.
|
@@ -2431,9 +2431,14 @@ class QueryQuery extends QueryField {
|
|
|
2431
2431
|
}
|
|
2432
2432
|
r = r.parent;
|
|
2433
2433
|
}
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2434
|
+
let partition = '';
|
|
2435
|
+
if (dimensions.length > 0) {
|
|
2436
|
+
partition = 'partition by ';
|
|
2437
|
+
partition += dimensions
|
|
2438
|
+
.map(this.parent.dialect.castToString)
|
|
2439
|
+
.join(',');
|
|
2440
|
+
}
|
|
2441
|
+
fields.push(`MAX(CASE WHEN group_set IN (${result.childGroups.join(',')}) THEN __delete__${result.groupSet} END) OVER(${partition}) as __shaving__${result.groupSet}`);
|
|
2437
2442
|
}
|
|
2438
2443
|
}
|
|
2439
2444
|
if (resultsWithHaving.length > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/malloy",
|
|
3
|
-
"version": "0.0.240-
|
|
3
|
+
"version": "0.0.240-dev250308020308",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dist/index.js",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"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"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@malloydata/malloy-interfaces": "^0.0.240-
|
|
45
|
-
"@malloydata/malloy-tag": "^0.0.240-
|
|
44
|
+
"@malloydata/malloy-interfaces": "^0.0.240-dev250308020308",
|
|
45
|
+
"@malloydata/malloy-tag": "^0.0.240-dev250308020308",
|
|
46
46
|
"antlr4ts": "^0.5.0-alpha.4",
|
|
47
47
|
"assert": "^2.0.0",
|
|
48
48
|
"jest-diff": "^29.6.2",
|