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

Reply via email to