@malloydata/malloy-tests 0.0.180-dev240906180931 → 0.0.180
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.180
|
|
25
|
-
"@malloydata/db-duckdb": "^0.0.180
|
|
26
|
-
"@malloydata/db-postgres": "^0.0.180
|
|
27
|
-
"@malloydata/db-snowflake": "^0.0.180
|
|
28
|
-
"@malloydata/db-trino": "^0.0.180
|
|
29
|
-
"@malloydata/malloy": "^0.0.180
|
|
30
|
-
"@malloydata/render": "^0.0.180
|
|
24
|
+
"@malloydata/db-bigquery": "^0.0.180",
|
|
25
|
+
"@malloydata/db-duckdb": "^0.0.180",
|
|
26
|
+
"@malloydata/db-postgres": "^0.0.180",
|
|
27
|
+
"@malloydata/db-snowflake": "^0.0.180",
|
|
28
|
+
"@malloydata/db-trino": "^0.0.180",
|
|
29
|
+
"@malloydata/malloy": "^0.0.180",
|
|
30
|
+
"@malloydata/render": "^0.0.180",
|
|
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.180
|
|
39
|
+
"version": "0.0.180"
|
|
40
40
|
}
|
|
@@ -1245,6 +1245,25 @@ expressionModels.forEach((x, databaseName) => {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
});
|
|
1247
1247
|
});
|
|
1248
|
+
|
|
1249
|
+
describe('dialect functions', () => {
|
|
1250
|
+
describe('duckdb', () => {
|
|
1251
|
+
const duckdb = it.when(databaseName === 'duckdb');
|
|
1252
|
+
duckdb('to_timestamp', async () => {
|
|
1253
|
+
await funcTest('to_timestamp(1725555835) = @2024-09-05 17:03:55', true);
|
|
1254
|
+
});
|
|
1255
|
+
});
|
|
1256
|
+
|
|
1257
|
+
describe('trino', () => {
|
|
1258
|
+
const trino = it.when(databaseName === 'trino');
|
|
1259
|
+
trino('from_unixtime', async () => {
|
|
1260
|
+
await funcTest(
|
|
1261
|
+
'from_unixtime(1725555835) = @2024-09-05 17:03:55',
|
|
1262
|
+
true
|
|
1263
|
+
);
|
|
1264
|
+
});
|
|
1265
|
+
});
|
|
1266
|
+
});
|
|
1248
1267
|
});
|
|
1249
1268
|
|
|
1250
1269
|
describe.each(runtimes.runtimeList)('%s', (databaseName, runtime) => {
|