You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "F Méthot (JIRA)" <ji...@apache.org> on 2016/02/04 19:47:40 UTC

[jira] [Created] (DRILL-4352) Query fails on single corrupted parquet column

F Méthot created DRILL-4352:
-------------------------------

             Summary: Query fails on single corrupted parquet column
                 Key: DRILL-4352
                 URL: https://issues.apache.org/jira/browse/DRILL-4352
             Project: Apache Drill
          Issue Type: Improvement
          Components: Execution - Monitoring, Storage - Parquet
    Affects Versions: 1.4.0
            Reporter: F Méthot


Getting this error when querying a corrupted Parquet file.
Error: SYSTEM ERROR: IOException: FAILED_TO_UNCOMPRESSED(5)

Fragment 1:9

A single corrupt file among 1000s will cause a query to break.

Encountering a corrupt files should be logged and not spoil a query.

It would have been useful if it was clearly specified in the log which parquet file is causing issue.


Response from Ted Dunning:
This is a lot like the problem of encountering bad lines in a line oriented file such as CSV or JSON. 

Drill doesn't currently have a good mechanism for skipping bad input. Or rather, it has reasonably good mechanisms, but it doesn't use them well.

I think that this is a very reasonable extension of the problem of dealing with individual bad records and should be handled somehow by the parquet scanner.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)