@malloydata/db-trino 0.0.138-dev240405133532 → 0.0.138
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/dist/trino_connection.js +4 -0
- package/package.json +1 -1
package/dist/trino_connection.js
CHANGED
|
@@ -240,6 +240,10 @@ class TrinoConnection {
|
|
|
240
240
|
// JSON.stringify(malloyRow[column.name])
|
|
241
241
|
// );
|
|
242
242
|
}
|
|
243
|
+
else if (malloyColumns[i].type === 'number' && row[i] !== null) {
|
|
244
|
+
// decimal numbers come back as strings
|
|
245
|
+
malloyRow[column.name] = +row[i];
|
|
246
|
+
}
|
|
243
247
|
else {
|
|
244
248
|
malloyRow[column.name] = row[i];
|
|
245
249
|
}
|