@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.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -1
  2. 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) out[col.name] = coerceBigIntToNumber(row[col.name]);
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/lakehouse",
3
3
  "type": "module",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "description": "Dataset-agnostic Iceberg lakehouse layer + dataset registry for R2 Data Catalog producers (ADR-0021).",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",