@malloydata/malloy-tests 0.0.153-dev240717221349 → 0.0.153-dev240719225207
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.153-
|
|
25
|
-
"@malloydata/db-duckdb": "^0.0.153-
|
|
26
|
-
"@malloydata/db-postgres": "^0.0.153-
|
|
27
|
-
"@malloydata/db-snowflake": "^0.0.153-
|
|
28
|
-
"@malloydata/db-trino": "^0.0.153-
|
|
29
|
-
"@malloydata/malloy": "^0.0.153-
|
|
30
|
-
"@malloydata/render": "^0.0.153-
|
|
24
|
+
"@malloydata/db-bigquery": "^0.0.153-dev240719225207",
|
|
25
|
+
"@malloydata/db-duckdb": "^0.0.153-dev240719225207",
|
|
26
|
+
"@malloydata/db-postgres": "^0.0.153-dev240719225207",
|
|
27
|
+
"@malloydata/db-snowflake": "^0.0.153-dev240719225207",
|
|
28
|
+
"@malloydata/db-trino": "^0.0.153-dev240719225207",
|
|
29
|
+
"@malloydata/malloy": "^0.0.153-dev240719225207",
|
|
30
|
+
"@malloydata/render": "^0.0.153-dev240719225207",
|
|
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.153-
|
|
39
|
+
"version": "0.0.153-dev240719225207"
|
|
40
40
|
}
|
|
@@ -201,7 +201,9 @@ runtimes.runtimeMap.forEach((runtime, databaseName) => {
|
|
|
201
201
|
// symmetric aggregate are needed on both sides of the join
|
|
202
202
|
// Check the row count and that sums on each side work properly.
|
|
203
203
|
await expect(`
|
|
204
|
-
source: a is ${databaseName}.table('malloytest.state_facts')
|
|
204
|
+
source: a is ${databaseName}.table('malloytest.state_facts') extend {
|
|
205
|
+
dimension: x is airport_count/10000
|
|
206
|
+
}
|
|
205
207
|
source: f is a extend {
|
|
206
208
|
join_cross: a
|
|
207
209
|
}
|
|
@@ -212,11 +214,15 @@ runtimes.runtimeMap.forEach((runtime, databaseName) => {
|
|
|
212
214
|
right_count is a.count()
|
|
213
215
|
left_sum is airport_count.sum()
|
|
214
216
|
right_sum is a.airport_count.sum()
|
|
217
|
+
left_small_sum is round(x.sum() * 10000)
|
|
218
|
+
right_small_sum is round(x.sum() * 10000)
|
|
215
219
|
}
|
|
216
220
|
`).malloyResultMatches(runtime, {
|
|
217
221
|
row_count: 51 * 51,
|
|
218
222
|
left_sum: 19701,
|
|
219
223
|
right_sum: 19701,
|
|
224
|
+
left_small_sum: 19701,
|
|
225
|
+
right_small_sum: 19701,
|
|
220
226
|
});
|
|
221
227
|
});
|
|
222
228
|
|