@gscdump/lakehouse 1.3.0 → 1.3.1
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/index.mjs +4 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -140,7 +140,10 @@ function buildRowProcessor(def, tableSpec) {
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
for (const name of dimNames) out[name] = def.dims[name].toPartitionValue(String(row[name]));
|
|
143
|
-
for (const col of def.columns)
|
|
143
|
+
for (const col of def.columns) {
|
|
144
|
+
const value = row[col.name];
|
|
145
|
+
out[col.name] = col.type === "LONG" ? typeof value === "number" ? BigInt(value) : value : coerceBigIntToNumber(value);
|
|
146
|
+
}
|
|
144
147
|
return out;
|
|
145
148
|
}
|
|
146
149
|
function dedupe(rows) {
|
package/package.json
CHANGED