@malloydata/malloy-tests 0.0.163-dev240808155642 → 0.0.163-dev240808193357

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.163-dev240808155642",
25
- "@malloydata/db-duckdb": "^0.0.163-dev240808155642",
26
- "@malloydata/db-postgres": "^0.0.163-dev240808155642",
27
- "@malloydata/db-snowflake": "^0.0.163-dev240808155642",
28
- "@malloydata/db-trino": "^0.0.163-dev240808155642",
29
- "@malloydata/malloy": "^0.0.163-dev240808155642",
30
- "@malloydata/render": "^0.0.163-dev240808155642",
24
+ "@malloydata/db-bigquery": "^0.0.163-dev240808193357",
25
+ "@malloydata/db-duckdb": "^0.0.163-dev240808193357",
26
+ "@malloydata/db-postgres": "^0.0.163-dev240808193357",
27
+ "@malloydata/db-snowflake": "^0.0.163-dev240808193357",
28
+ "@malloydata/db-trino": "^0.0.163-dev240808193357",
29
+ "@malloydata/malloy": "^0.0.163-dev240808193357",
30
+ "@malloydata/render": "^0.0.163-dev240808193357",
31
31
  "jsdom": "^22.1.0",
32
32
  "luxon": "^2.4.0",
33
33
  "madge": "^6.0.0"
@@ -36,5 +36,5 @@
36
36
  "@types/jsdom": "^21.1.1",
37
37
  "@types/luxon": "^2.4.0"
38
38
  },
39
- "version": "0.0.163-dev240808155642"
39
+ "version": "0.0.163-dev240808193357"
40
40
  }
@@ -325,4 +325,16 @@ runtimes.runtimeMap.forEach((runtime, databaseName) => {
325
325
  run: state_facts -> { group_by: state }
326
326
  `).malloyResultMatches(runtime, {state: 'CA'});
327
327
  });
328
+ it(`default value not passed through extension propagates - ${databaseName}`, async () => {
329
+ await expect(
330
+ `
331
+ ##! experimental.parameters
332
+ source: ab_new(param::number is 10) is ${databaseName}.table('malloytest.state_facts') extend {
333
+ dimension: param_value is param
334
+ }
335
+ source: ab_new_new is ab_new extend {}
336
+ run: ab_new_new -> { group_by: param_value }
337
+ `
338
+ ).malloyResultMatches(runtime, {param_value: 10});
339
+ });
328
340
  });