@malloydata/malloy-tests 0.0.269-dev250423184549 → 0.0.269-dev250424171204

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,14 +21,14 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@jest/globals": "^29.4.3",
24
- "@malloydata/db-bigquery": "^0.0.269-dev250423184549",
25
- "@malloydata/db-duckdb": "^0.0.269-dev250423184549",
26
- "@malloydata/db-postgres": "^0.0.269-dev250423184549",
27
- "@malloydata/db-snowflake": "^0.0.269-dev250423184549",
28
- "@malloydata/db-trino": "^0.0.269-dev250423184549",
29
- "@malloydata/malloy": "^0.0.269-dev250423184549",
30
- "@malloydata/malloy-tag": "^0.0.269-dev250423184549",
31
- "@malloydata/render": "^0.0.269-dev250423184549",
24
+ "@malloydata/db-bigquery": "^0.0.269-dev250424171204",
25
+ "@malloydata/db-duckdb": "^0.0.269-dev250424171204",
26
+ "@malloydata/db-postgres": "^0.0.269-dev250424171204",
27
+ "@malloydata/db-snowflake": "^0.0.269-dev250424171204",
28
+ "@malloydata/db-trino": "^0.0.269-dev250424171204",
29
+ "@malloydata/malloy": "^0.0.269-dev250424171204",
30
+ "@malloydata/malloy-tag": "^0.0.269-dev250424171204",
31
+ "@malloydata/render": "^0.0.269-dev250424171204",
32
32
  "events": "^3.3.0",
33
33
  "jsdom": "^22.1.0",
34
34
  "luxon": "^2.4.0",
@@ -38,5 +38,5 @@
38
38
  "@types/jsdom": "^21.1.1",
39
39
  "@types/luxon": "^2.4.0"
40
40
  },
41
- "version": "0.0.269-dev250423184549"
41
+ "version": "0.0.269-dev250424171204"
42
42
  }
@@ -564,6 +564,13 @@ describe.each(runtimes.runtimeList)(
564
564
  });
565
565
  // mtoy todo document missing lambda sort
566
566
  });
567
+
568
+ it('can read a map data type from an sql schema', async () => {
569
+ await expect(`run: ${databaseName}.sql("""
570
+ SELECT MAP(ARRAY['key1', 'key2', 'key3' ], ARRAY['v1', 'v2', 'v3']) as KEY_TO_V
571
+ """) -> { aggregate: n is count() }
572
+ `).matchesRows(runtime, {n: 1});
573
+ });
567
574
  }
568
575
  );
569
576