Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
As discussed on some other bugs, there are some parquet-cpp DCHECKs on the number of values decoded that really should be exceptions. When invalid Parquet files are read, it is possible for the decoders to return less values than expected and this should be signaled back to the user even in non-debug mode and it should not be a crash in debug mode. A fuzzer I have been running managed to create two examples that crashed parquet-cpp due to the DCHECKs. These don't currently crash the non-arrow cpp interfaces for reading parquet but we might consider making those methods also throw exceptions in these situations.