You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/05/24 18:08:00 UTC

[jira] [Resolved] (PARQUET-1243) [C++] Improve quality of error message for zero-length files, otherwise corrupted files

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

Wes McKinney resolved PARQUET-1243.
-----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: cpp-1.5.0)
                   cpp-1.6.0

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

> [C++] Improve quality of error message for zero-length files, otherwise corrupted files
> ---------------------------------------------------------------------------------------
>
>                 Key: PARQUET-1243
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1243
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-cpp
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cpp-1.6.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently, the error looks like, even for zero-size files:
> {code}
>     if (file_size < FOOTER_SIZE) {
>       throw ParquetException("Corrupted file, smaller than file footer");
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)