[ 
https://issues.apache.org/jira/browse/PARQUET-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Micah Kornfield resolved PARQUET-2131.
--------------------------------------
    Fix Version/s: cpp-8.0.0
       Resolution: Fixed

Issue resolved by pull request 12490
[https://github.com/apache/arrow/pull/12490]

> 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
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: cpp-8.0.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> 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