@malloydata/malloy-tests 0.0.152 → 0.0.153-dev240717221349

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.152",
25
- "@malloydata/db-duckdb": "^0.0.152",
26
- "@malloydata/db-postgres": "^0.0.152",
27
- "@malloydata/db-snowflake": "^0.0.152",
28
- "@malloydata/db-trino": "^0.0.152",
29
- "@malloydata/malloy": "^0.0.152",
30
- "@malloydata/render": "^0.0.152",
24
+ "@malloydata/db-bigquery": "^0.0.153-dev240717221349",
25
+ "@malloydata/db-duckdb": "^0.0.153-dev240717221349",
26
+ "@malloydata/db-postgres": "^0.0.153-dev240717221349",
27
+ "@malloydata/db-snowflake": "^0.0.153-dev240717221349",
28
+ "@malloydata/db-trino": "^0.0.153-dev240717221349",
29
+ "@malloydata/malloy": "^0.0.153-dev240717221349",
30
+ "@malloydata/render": "^0.0.153-dev240717221349",
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.152"
39
+ "version": "0.0.153-dev240717221349"
40
40
  }
@@ -1055,23 +1055,26 @@ SELECT row_to_json(finalStage) as row FROM __stage0 AS finalStage`);
1055
1055
  }
1056
1056
  );
1057
1057
 
1058
- test.when(runtime.supportsNesting && runtime.dialect.readsNestedData)(
1059
- `can unnest simply from file - ${databaseName}`,
1060
- async () => {
1061
- await expect(`
1058
+ test.when(
1059
+ runtime.supportsNesting &&
1060
+ runtime.dialect.readsNestedData &&
1061
+ databaseName !== 'presto'
1062
+ )(`can unnest simply from file - ${databaseName}`, async () => {
1063
+ await expect(`
1062
1064
  source: ga_sample is ${databaseName}.table('malloytest.ga_sample')
1063
1065
  run: ga_sample -> {
1064
1066
  aggregate:
1065
1067
  h is hits.count()
1066
1068
  }
1067
1069
  `).malloyResultMatches(runtime, {h: 13233});
1068
- }
1069
- );
1070
+ });
1070
1071
 
1071
- test.when(runtime.supportsNesting && runtime.dialect.readsNestedData)(
1072
- `can unnest from file - ${databaseName}`,
1073
- async () => {
1074
- await expect(`
1072
+ test.when(
1073
+ runtime.supportsNesting &&
1074
+ runtime.dialect.readsNestedData &&
1075
+ databaseName !== 'presto'
1076
+ )(`can unnest from file - ${databaseName}`, async () => {
1077
+ await expect(`
1075
1078
  source: ga_sample is ${databaseName}.table('malloytest.ga_sample')
1076
1079
  run: ga_sample -> {
1077
1080
  where: hits.product.productBrand != null
@@ -1084,13 +1087,14 @@ SELECT row_to_json(finalStage) as row FROM __stage0 AS finalStage`);
1084
1087
  p is hits.product.count()
1085
1088
  }
1086
1089
  `).malloyResultMatches(runtime, {h: 1192, c: 681, p: 1192});
1087
- }
1088
- );
1090
+ });
1089
1091
 
1090
- test.when(runtime.supportsNesting && runtime.dialect.readsNestedData)(
1091
- `can double unnest - ${databaseName}`,
1092
- async () => {
1093
- await expect(`
1092
+ test.when(
1093
+ runtime.supportsNesting &&
1094
+ runtime.dialect.readsNestedData &&
1095
+ databaseName !== 'presto'
1096
+ )(`can double unnest - ${databaseName}`, async () => {
1097
+ await expect(`
1094
1098
  source: ga_sample is ${databaseName}.table('malloytest.ga_sample')
1095
1099
 
1096
1100
  run: ga_sample -> {
@@ -1098,8 +1102,7 @@ SELECT row_to_json(finalStage) as row FROM __stage0 AS finalStage`);
1098
1102
  p is floor(hits.product.productPrice.avg())
1099
1103
  }
1100
1104
  `).malloyResultMatches(runtime, {p: 23001594});
1101
- }
1102
- );
1105
+ });
1103
1106
 
1104
1107
  test.when(runtime.supportsNesting)(
1105
1108
  'nest null - ${databaseName}',