parquetjs icon indicating copy to clipboard operation
parquetjs copied to clipboard

Fix BigInt timestamp_millis fail to read

Open leiffoged opened this issue 1 year ago • 0 comments

new Date(+value); => new Date(Number(value));

value is a BigInt. +value is a JS error ('Cannot convert a BigInt value to a number')

I believe the proper conversion is Number(value). Also used Number(value) instead of parseInt.

leiffoged avatar Jul 20 '23 23:07 leiffoged