You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/05/02 19:55:00 UTC

[jira] [Updated] (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 ]

ASF GitHub Bot updated PARQUET-1243:
------------------------------------
    Labels: pull-request-available  (was: )

> [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.5.0
>
>
> 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)