[
https://issues.apache.org/jira/browse/SPARK-8669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cheng Lian updated SPARK-8669:
------------------------------
Target Version/s: 1.5.0
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]