[ https://issues.apache.org/jira/browse/SPARK-11692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng Lian resolved SPARK-11692. -------------------------------- Resolution: Fixed Fix Version/s: 1.7.0 Issue resolved by pull request 9658 [https://github.com/apache/spark/pull/9658] > Support for Parquet logical types, JSON and BSON (embedded types) > ------------------------------------------------------------------ > > Key: SPARK-11692 > URL: https://issues.apache.org/jira/browse/SPARK-11692 > Project: Spark > Issue Type: Improvement > Components: SQL > Reporter: Hyukjin Kwon > Assignee: Hyukjin Kwon > Fix For: 1.7.0 > > > Add support for Parquet logical types JSON and BSON. > Since JSON is represented as UTF-8 and BSON is binary. > {code} > org.apache.spark.sql.AnalysisException: Illegal Parquet type: BINARY (BSON); > at > org.apache.spark.sql.execution.datasources.parquet.CatalystSchemaConverter.illegalType$1(CatalystSchemaConverter.scala:118) > at > org.apache.spark.sql.execution.datasources.parquet.CatalystSchemaConverter.convertPrimitiveField(CatalystSchemaConverter.scala:177) > at > org.apache.spark.sql.execution.datasources.parquet.CatalystSchemaConverter.convertField(CatalystSchemaConverter.scala:100) > at > org.apache.spark.sql.execution.datasources.parquet.CatalystSchemaConverter$$anonfun$2.apply(CatalystSchemaConverter.scala:82) > at > org.apache.spark.sql.execution.datasources.parquet.CatalystSchemaConverter$$anonfun$2.apply(CatalystSchemaConverter.scala:76) > ... > {code} -- 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