You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/06/12 01:18:00 UTC
[jira] [Updated] (SPARK-8315) Better error when saving to parquet
with duplicate columns
[ https://issues.apache.org/jira/browse/SPARK-8315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust updated SPARK-8315:
------------------------------------
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:
{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, ip-10-0-253-59.ec2.internal): 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.
was:
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, ip-10-0-253-59.ec2.internal): 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.
> 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, ip-10-0-253-59.ec2.internal): 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org