@malloydata/malloy-tests 0.0.218-dev241120211046 → 0.0.218-dev241122201503

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/package.json CHANGED
@@ -21,13 +21,13 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@jest/globals": "^29.4.3",
24
- "@malloydata/db-bigquery": "^0.0.218-dev241120211046",
25
- "@malloydata/db-duckdb": "^0.0.218-dev241120211046",
26
- "@malloydata/db-postgres": "^0.0.218-dev241120211046",
27
- "@malloydata/db-snowflake": "^0.0.218-dev241120211046",
28
- "@malloydata/db-trino": "^0.0.218-dev241120211046",
29
- "@malloydata/malloy": "^0.0.218-dev241120211046",
30
- "@malloydata/render": "^0.0.218-dev241120211046",
24
+ "@malloydata/db-bigquery": "^0.0.218-dev241122201503",
25
+ "@malloydata/db-duckdb": "^0.0.218-dev241122201503",
26
+ "@malloydata/db-postgres": "^0.0.218-dev241122201503",
27
+ "@malloydata/db-snowflake": "^0.0.218-dev241122201503",
28
+ "@malloydata/db-trino": "^0.0.218-dev241122201503",
29
+ "@malloydata/malloy": "^0.0.218-dev241122201503",
30
+ "@malloydata/render": "^0.0.218-dev241122201503",
31
31
  "events": "^3.3.0",
32
32
  "jsdom": "^22.1.0",
33
33
  "luxon": "^2.4.0",
@@ -37,5 +37,5 @@
37
37
  "@types/jsdom": "^21.1.1",
38
38
  "@types/luxon": "^2.4.0"
39
39
  },
40
- "version": "0.0.218-dev241120211046"
40
+ "version": "0.0.218-dev241122201503"
41
41
  }
@@ -197,4 +197,15 @@ describe.each(runtimes.runtimeList)('%s', (databaseName, runtime) => {
197
197
  }
198
198
  `).malloyResultMatches(runtime, {x: 1});
199
199
  });
200
+ it('reference composite field in nest', async () => {
201
+ await expect(`
202
+ ##! experimental { composite_sources parameters }
203
+ source: state_facts is ${databaseName}.table('malloytest.state_facts')
204
+ run: compose(state_facts, state_facts extend { dimension: x is 1 }) -> {
205
+ nest: foo is {
206
+ group_by: x
207
+ }
208
+ }
209
+ `).malloyResultMatches(runtime, {'foo.x': 1});
210
+ });
200
211
  });