jcrobak / parquet-python

python implementation of the parquet columnar file format.
Apache License 2.0
340 stars 257 forks source link

Fix IndexError when width is zero #53

Closed sqm2050 closed 7 years ago

sqm2050 commented 7 years ago

In func read_bitpacked, when width == 0, byte_count is zero, and raw_bytes == [].

Then IndexError when access the raw_bytes