You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2015/11/12 10:05:10 UTC
[jira] [Updated] (SPARK-11692) Support for Parquet logical types,
JSON and BSON (embedded types)
[ https://issues.apache.org/jira/browse/SPARK-11692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-11692:
---------------------------------
Summary: Support for Parquet logical types, JSON and BSON (embedded types) (was: Support for Parquet logical types, JSON and BISON (embedded types) )
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org