You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is true that the low-level thrift reader does not raise errors, just ends up with a set of objects that are empty/None or otherwise not initialised. It would be reasonable to make a few basic verification checks and raising an error as you say.
Describe the issue:
No
ParquetException
is thrown if metadata is corrupt.Minimal Complete Verifiable Example:
I think I'm getting corruption due to bad file locking elsewhere in my app.
I'll attach file if I can catch the failure.
Anything else we need to know?:
I suspect
None
is returned here:fastparquet/fastparquet/cencoding.pyx
Lines 693 to 702 in f747fe6
Then we try and get
[4]
without aNone
check here:fastparquet/fastparquet/api.py
Lines 221 to 225 in f747fe6
Environment:
fastparquet == 2023.2.0
The text was updated successfully, but these errors were encountered: