[
https://issues.apache.org/jira/browse/SPARK-8315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Armbrust updated SPARK-8315:
------------------------------------
Target Version/s: 1.5.0, 1.4.2 (was: 1.4.1, 1.5.0)
> Better error when saving to parquet with duplicate columns
> ----------------------------------------------------------
>
> Key: SPARK-8315
> URL: https://issues.apache.org/jira/browse/SPARK-8315
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Reporter: Michael Armbrust
> Priority: Critical
>
> 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:
> {code}
> 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 ...
> {code}
> We should throw a better error before attempting to write out an invalid file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]