@malloydata/malloy-tests 0.0.240-dev250305163014 → 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.
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.240-
|
|
25
|
-
"@malloydata/db-duckdb": "^0.0.240-
|
|
26
|
-
"@malloydata/db-postgres": "^0.0.240-
|
|
27
|
-
"@malloydata/db-snowflake": "^0.0.240-
|
|
28
|
-
"@malloydata/db-trino": "^0.0.240-
|
|
29
|
-
"@malloydata/malloy": "^0.0.240-
|
|
30
|
-
"@malloydata/malloy-tag": "^0.0.240-
|
|
31
|
-
"@malloydata/render": "^0.0.240-
|
|
24
|
+
"@malloydata/db-bigquery": "^0.0.240-dev250308020308",
|
|
25
|
+
"@malloydata/db-duckdb": "^0.0.240-dev250308020308",
|
|
26
|
+
"@malloydata/db-postgres": "^0.0.240-dev250308020308",
|
|
27
|
+
"@malloydata/db-snowflake": "^0.0.240-dev250308020308",
|
|
28
|
+
"@malloydata/db-trino": "^0.0.240-dev250308020308",
|
|
29
|
+
"@malloydata/malloy": "^0.0.240-dev250308020308",
|
|
30
|
+
"@malloydata/malloy-tag": "^0.0.240-dev250308020308",
|
|
31
|
+
"@malloydata/render": "^0.0.240-dev250308020308",
|
|
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.240-
|
|
41
|
+
"version": "0.0.240-dev250308020308"
|
|
42
42
|
}
|
|
@@ -294,6 +294,18 @@ describe.each(runtimes.runtimeList)('%s', (databaseName, runtime) => {
|
|
|
294
294
|
}
|
|
295
295
|
);
|
|
296
296
|
|
|
297
|
+
test.when(runtime.supportsNesting)(
|
|
298
|
+
'model: having on just aggregation with a nest',
|
|
299
|
+
async () => {
|
|
300
|
+
await expect(`${modelText(databaseName)}
|
|
301
|
+
run: ${databaseName}.table('malloytest.state_facts') -> {
|
|
302
|
+
having: count(airport_count) > 0
|
|
303
|
+
aggregate: row_count is count()
|
|
304
|
+
nest: state
|
|
305
|
+
}`).malloyResultMatches(runtime, {row_count: 51});
|
|
306
|
+
}
|
|
307
|
+
);
|
|
308
|
+
|
|
297
309
|
it('model: aggregate functions distinct min max', async () => {
|
|
298
310
|
await expect(`
|
|
299
311
|
run: aircraft_models->{
|