XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • None
    • SQL
    • None

    Description

      Parquet allows you to silently write out files with duplicate column names and then emits a very confusing error when trying to read the data back in:

      Error in SQL statement: java.lang.RuntimeException: org.apache.spark.SparkException: Job aborted due to stage failure: Task 4 in stage 21.0 failed 4 times, most recent failure: Lost task 4.3 in stage 21.0 (TID 2767, ...): parquet.io.ParquetDecodingException: Can not read value at 0 in block -1 in file ...
      

      We should throw a better error before attempting to write out an invalid file.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marmbrus Michael Armbrust
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: