@malloydata/malloy 0.0.261-dev250410224545 → 0.0.261-dev250411164723

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.
@@ -2842,11 +2842,12 @@ class QueryQuery extends QueryField {
2842
2842
  this.prepare(stageWriter);
2843
2843
  let lastStageName = this.generateSQL(stageWriter);
2844
2844
  let outputStruct = this.getResultStructDef();
2845
- if (this.fieldDef.pipeline.length > 1) {
2845
+ const pipeline = [...this.fieldDef.pipeline];
2846
+ if (pipeline.length > 1) {
2846
2847
  // console.log(pretty(outputStruct));
2847
- const pipeline = [...this.fieldDef.pipeline];
2848
2848
  let structDef = {
2849
2849
  ...outputStruct,
2850
+ name: lastStageName,
2850
2851
  type: 'finalize',
2851
2852
  };
2852
2853
  pipeline.shift();
@@ -2861,6 +2862,7 @@ class QueryQuery extends QueryField {
2861
2862
  outputStruct = q.getResultStructDef();
2862
2863
  structDef = {
2863
2864
  ...outputStruct,
2865
+ name: lastStageName,
2864
2866
  type: 'finalize',
2865
2867
  };
2866
2868
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.261-dev250410224545",
3
+ "version": "0.0.261-dev250411164723",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -41,9 +41,9 @@
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-filter": "^0.0.261-dev250410224545",
45
- "@malloydata/malloy-interfaces": "^0.0.261-dev250410224545",
46
- "@malloydata/malloy-tag": "^0.0.261-dev250410224545",
44
+ "@malloydata/malloy-filter": "^0.0.261-dev250411164723",
45
+ "@malloydata/malloy-interfaces": "^0.0.261-dev250411164723",
46
+ "@malloydata/malloy-tag": "^0.0.261-dev250411164723",
47
47
  "antlr4ts": "^0.5.0-alpha.4",
48
48
  "assert": "^2.0.0",
49
49
  "jaro-winkler": "^0.2.8",