William Butler created PARQUET-2131:
---------------------------------------

             Summary: Number values decoded DCHECKs should be exceptions
                 Key: PARQUET-2131
                 URL: https://issues.apache.org/jira/browse/PARQUET-2131
             Project: Parquet
          Issue Type: Bug
          Components: parquet-cpp
            Reporter: William Butler
            Assignee: William Butler


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to