@malloydata/malloy-tests 0.0.146-dev240514182101 → 0.0.146
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.146
|
|
25
|
-
"@malloydata/db-duckdb": "^0.0.146
|
|
26
|
-
"@malloydata/db-postgres": "^0.0.146
|
|
27
|
-
"@malloydata/db-snowflake": "^0.0.146
|
|
28
|
-
"@malloydata/db-trino": "^0.0.146
|
|
29
|
-
"@malloydata/malloy": "^0.0.146
|
|
30
|
-
"@malloydata/render": "^0.0.146
|
|
24
|
+
"@malloydata/db-bigquery": "^0.0.146",
|
|
25
|
+
"@malloydata/db-duckdb": "^0.0.146",
|
|
26
|
+
"@malloydata/db-postgres": "^0.0.146",
|
|
27
|
+
"@malloydata/db-snowflake": "^0.0.146",
|
|
28
|
+
"@malloydata/db-trino": "^0.0.146",
|
|
29
|
+
"@malloydata/malloy": "^0.0.146",
|
|
30
|
+
"@malloydata/render": "^0.0.146",
|
|
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.146
|
|
39
|
+
"version": "0.0.146"
|
|
40
40
|
}
|
|
@@ -109,15 +109,18 @@ runtimes.runtimeMap.forEach((runtime, databaseName) => {
|
|
|
109
109
|
}
|
|
110
110
|
);
|
|
111
111
|
|
|
112
|
-
it(
|
|
113
|
-
|
|
112
|
+
it.when(databaseName !== 'trino')(
|
|
113
|
+
`index rows count - ${databaseName}`,
|
|
114
|
+
async () => {
|
|
115
|
+
await expect(`
|
|
114
116
|
run: ${databaseName}.table('malloytest.flights') extend {
|
|
115
117
|
dimension: one is 'one'
|
|
116
118
|
} -> {index:one, tail_num; sample: 50% }
|
|
117
119
|
-> {select: fieldName, weight, fieldValue; order_by: 2 desc; where: fieldName = 'one'}
|
|
118
120
|
`).malloyResultMatches(runtime, {fieldName: 'one'});
|
|
119
|
-
|
|
120
|
-
|
|
121
|
+
// Hard to get consistent results here so just check that we get a value back.
|
|
122
|
+
}
|
|
123
|
+
);
|
|
121
124
|
|
|
122
125
|
// it(`fanned data index - ${databaseName}`, async () => {
|
|
123
126
|
// const result = await runtime
|