Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4352

Query fails on single corrupted parquet column

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fmethot F Méthot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: