@malloydata/db-trino 0.0.200-dev241012214927 → 0.0.200

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.
@@ -159,13 +159,7 @@ class TrinoPrestoConnection extends connection_1.BaseConnection {
159
159
  retRow[field.name] = this.convertNest(field, row[i]);
160
160
  }
161
161
  else if (field.type === 'array') {
162
- const newArray = {
163
- fields: [],
164
- dialect: '',
165
- ...field,
166
- join: 'many',
167
- };
168
- retRow[field.name] = this.convertNest(newArray, row[i]);
162
+ retRow[field.name] = this.convertNest(field, row[i]);
169
163
  }
170
164
  else {
171
165
  retRow[field.name] = (_a = row[i]) !== null && _a !== void 0 ? _a : null;
@@ -204,14 +198,7 @@ class TrinoPrestoConnection extends connection_1.BaseConnection {
204
198
  malloyRow[column.name] = this.convertRow(schemaColumn, row[i]);
205
199
  }
206
200
  else if (schemaColumn.type === 'array') {
207
- const newArray = {
208
- name: '',
209
- fields: [],
210
- dialect: '',
211
- ...schemaColumn,
212
- join: 'many',
213
- };
214
- malloyRow[column.name] = this.convertNest(newArray, row[i]);
201
+ malloyRow[column.name] = this.convertNest(schemaColumn, row[i]);
215
202
  }
216
203
  else if (schemaColumn.type === 'number' &&
217
204
  typeof row[i] === 'string') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/db-trino",
3
- "version": "0.0.200-dev241012214927",
3
+ "version": "0.0.200",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "prepublishOnly": "npm run build"
23
23
  },
24
24
  "dependencies": {
25
- "@malloydata/malloy": "^0.0.200-dev241012214927",
25
+ "@malloydata/malloy": "^0.0.200",
26
26
  "@prestodb/presto-js-client": "^1.0.0",
27
27
  "gaxios": "^4.2.0",
28
28
  "trino-client": "^0.2.2"