ZJONSSON / parquetjs

fully asynchronous, pure JavaScript implementation of the Parquet file format
MIT License
34 stars 61 forks source link

Fix for #58, fromPrimitive_TIMESTAMP_MICROS (TypeError when dividing a string by BigInt) #59

Open Irelynx opened 3 years ago

Irelynx commented 3 years ago

Fix of TypeError: Cannot mix BigInt and other types for fromPrimitive_TIMESTAMP_MICROS

In fromPrimitive_TIMESTAMP_MICROS(value: String): Date, value (string) divided by 1000n (BigInt), which causes TypeError: Cannot mix BigInt and other types in Node v12.19.1

Irelynx commented 3 years ago

58