ironSource / parquetjs

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

Fix UINT_32 conversion #122

Open jamiekb opened 3 years ago

jamiekb commented 3 years ago

Thanks for maintaining this package. When a value of UINT_32 logical type is converted to/from an INT32 primitive, no action is taken to adjust its range. As a result, if a value >= 2^31 is encoded as UINT_32, the encoder will fail since the value is out of range of a signed INT32. Likewise, a UINT_32 read from file would be signed.