@malloydata/malloy-tests 0.0.223-dev241213043533 → 0.0.223-dev241216191808
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.223-
|
|
25
|
-
"@malloydata/db-duckdb": "^0.0.223-
|
|
26
|
-
"@malloydata/db-postgres": "^0.0.223-
|
|
27
|
-
"@malloydata/db-snowflake": "^0.0.223-
|
|
28
|
-
"@malloydata/db-trino": "^0.0.223-
|
|
29
|
-
"@malloydata/malloy": "^0.0.223-
|
|
30
|
-
"@malloydata/render": "^0.0.223-
|
|
24
|
+
"@malloydata/db-bigquery": "^0.0.223-dev241216191808",
|
|
25
|
+
"@malloydata/db-duckdb": "^0.0.223-dev241216191808",
|
|
26
|
+
"@malloydata/db-postgres": "^0.0.223-dev241216191808",
|
|
27
|
+
"@malloydata/db-snowflake": "^0.0.223-dev241216191808",
|
|
28
|
+
"@malloydata/db-trino": "^0.0.223-dev241216191808",
|
|
29
|
+
"@malloydata/malloy": "^0.0.223-dev241216191808",
|
|
30
|
+
"@malloydata/render": "^0.0.223-dev241216191808",
|
|
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.223-
|
|
40
|
+
"version": "0.0.223-dev241216191808"
|
|
41
41
|
}
|
|
@@ -1312,13 +1312,19 @@ expressionModels.forEach((x, databaseName) => {
|
|
|
1312
1312
|
|
|
1313
1313
|
describe('dialect functions', () => {
|
|
1314
1314
|
describe('duckdb', () => {
|
|
1315
|
-
const
|
|
1316
|
-
|
|
1315
|
+
const isDuckdb = databaseName === 'duckdb';
|
|
1316
|
+
it.when(isDuckdb)('to_timestamp', async () => {
|
|
1317
1317
|
await funcTest(
|
|
1318
1318
|
'to_timestamp(1725555835) = @2024-09-05 17:03:55',
|
|
1319
1319
|
booleanResult(true, databaseName)
|
|
1320
1320
|
);
|
|
1321
1321
|
});
|
|
1322
|
+
it.when(isDuckdb)('list_extract', async () => {
|
|
1323
|
+
await funcTest('list_extract(list_extract([[5]], 1), 1)', 5);
|
|
1324
|
+
});
|
|
1325
|
+
it.when(isDuckdb)('date_part,to_seconds', async () => {
|
|
1326
|
+
await funcTest('date_part("seconds", to_seconds(5))', 5);
|
|
1327
|
+
});
|
|
1322
1328
|
});
|
|
1323
1329
|
|
|
1324
1330
|
describe('trino', () => {
|