@malloydata/malloy-tests 0.0.225-dev241221012915 → 0.0.225-dev241223203704
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.225-
|
|
25
|
-
"@malloydata/db-duckdb": "^0.0.225-
|
|
26
|
-
"@malloydata/db-postgres": "^0.0.225-
|
|
27
|
-
"@malloydata/db-snowflake": "^0.0.225-
|
|
28
|
-
"@malloydata/db-trino": "^0.0.225-
|
|
29
|
-
"@malloydata/malloy": "^0.0.225-
|
|
30
|
-
"@malloydata/render": "^0.0.225-
|
|
24
|
+
"@malloydata/db-bigquery": "^0.0.225-dev241223203704",
|
|
25
|
+
"@malloydata/db-duckdb": "^0.0.225-dev241223203704",
|
|
26
|
+
"@malloydata/db-postgres": "^0.0.225-dev241223203704",
|
|
27
|
+
"@malloydata/db-snowflake": "^0.0.225-dev241223203704",
|
|
28
|
+
"@malloydata/db-trino": "^0.0.225-dev241223203704",
|
|
29
|
+
"@malloydata/malloy": "^0.0.225-dev241223203704",
|
|
30
|
+
"@malloydata/render": "^0.0.225-dev241223203704",
|
|
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.225-
|
|
40
|
+
"version": "0.0.225-dev241223203704"
|
|
41
41
|
}
|
|
@@ -750,6 +750,15 @@ describe('airport_tests', () => {
|
|
|
750
750
|
`).malloyResultMatches(model, {'pipe_turtle.total_airports': 1845});
|
|
751
751
|
});
|
|
752
752
|
|
|
753
|
+
it(`hyperloglog combine`, async () => {
|
|
754
|
+
await expect(`run: bigquery.table('malloytest.airports')->{
|
|
755
|
+
aggregate: code_hll is hll_accumulate(code)
|
|
756
|
+
} -> {
|
|
757
|
+
aggregate: code_count is hll_estimate(hll_combine(code_hll))
|
|
758
|
+
}
|
|
759
|
+
`).malloyResultMatches(runtime, {code_count: 19799});
|
|
760
|
+
});
|
|
761
|
+
|
|
753
762
|
it.skip('crossjoined turtles', async () => {
|
|
754
763
|
// const result = await runQuery(model,`
|
|
755
764
|
// explore airports
|