[ 
https://issues.apache.org/jira/browse/SPARK-8669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Armbrust resolved SPARK-8669.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Issue resolved by pull request 7048
[https://github.com/apache/spark/pull/7048]

> Parquet 1.7 files that store binary enums crash when inferring schema
> ---------------------------------------------------------------------
>
>                 Key: SPARK-8669
>                 URL: https://issues.apache.org/jira/browse/SPARK-8669
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Steven She
>            Assignee: Steven She
>             Fix For: 1.5.0
>
>
> Loading a Parquet 1.7 file that contains a binary ENUM field in Spark 
> 1.5-SNAPSHOT crashes with the following exception:
> {noformat}
>   org.apache.spark.sql.AnalysisException: Illegal Parquet type: BINARY (ENUM);
>   at 
> org.apache.spark.sql.parquet.CatalystSchemaConverter.illegalType$1(CatalystSchemaConverter.scala:129)
>   at 
> org.apache.spark.sql.parquet.CatalystSchemaConverter.convertPrimitiveField(CatalystSchemaConverter.scala:184)
>   at 
> org.apache.spark.sql.parquet.CatalystSchemaConverter.convertField(CatalystSchemaConverter.scala:114)
> ...
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to