@malloydata/malloy-tests 0.0.239-dev250226183425 → 0.0.239-dev250227193901
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.239-
|
|
25
|
-
"@malloydata/db-duckdb": "^0.0.239-
|
|
26
|
-
"@malloydata/db-postgres": "^0.0.239-
|
|
27
|
-
"@malloydata/db-snowflake": "^0.0.239-
|
|
28
|
-
"@malloydata/db-trino": "^0.0.239-
|
|
29
|
-
"@malloydata/malloy": "^0.0.239-
|
|
30
|
-
"@malloydata/malloy-tag": "^0.0.239-
|
|
31
|
-
"@malloydata/render": "^0.0.239-
|
|
24
|
+
"@malloydata/db-bigquery": "^0.0.239-dev250227193901",
|
|
25
|
+
"@malloydata/db-duckdb": "^0.0.239-dev250227193901",
|
|
26
|
+
"@malloydata/db-postgres": "^0.0.239-dev250227193901",
|
|
27
|
+
"@malloydata/db-snowflake": "^0.0.239-dev250227193901",
|
|
28
|
+
"@malloydata/db-trino": "^0.0.239-dev250227193901",
|
|
29
|
+
"@malloydata/malloy": "^0.0.239-dev250227193901",
|
|
30
|
+
"@malloydata/malloy-tag": "^0.0.239-dev250227193901",
|
|
31
|
+
"@malloydata/render": "^0.0.239-dev250227193901",
|
|
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.239-
|
|
41
|
+
"version": "0.0.239-dev250227193901"
|
|
42
42
|
}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
ArrayTypeDef,
|
|
15
15
|
FieldDef,
|
|
16
16
|
Expr,
|
|
17
|
-
|
|
17
|
+
SQLSourceRequest,
|
|
18
18
|
} from '@malloydata/malloy';
|
|
19
19
|
|
|
20
20
|
const runtimes = new RuntimeList(databasesFromEnvironmentOr(allDatabases));
|
|
@@ -220,13 +220,9 @@ describe.each(runtimes.runtimeList)(
|
|
|
220
220
|
kids: {values: [aOne, aTwo]},
|
|
221
221
|
};
|
|
222
222
|
const sql_aoa = runtime.dialect.sqlLiteralArray(aoa);
|
|
223
|
-
const asStruct:
|
|
224
|
-
name: 'select_with_aoa',
|
|
225
|
-
type: 'sql_select',
|
|
223
|
+
const asStruct: SQLSourceRequest = {
|
|
226
224
|
connection: conName,
|
|
227
|
-
dialect: runtime.dialect.name,
|
|
228
225
|
selectStr: `SELECT ${sql_aoa} AS aoa`,
|
|
229
|
-
fields: [],
|
|
230
226
|
};
|
|
231
227
|
const ret = await runtime.connection.fetchSchemaForSQLStruct(
|
|
232
228
|
asStruct,
|