[
https://issues.apache.org/jira/browse/SPARK-11692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001870#comment-15001870
]
Apache Spark commented on SPARK-11692:
--------------------------------------
User 'HyukjinKwon' has created a pull request for this issue:
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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]