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 2018/03/12 04:25: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 ]

Wes McKinney updated PARQUET-1243:
----------------------------------
    Description: 
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}

> [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
>            Priority: Major
>             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)