Hyukjin Kwon created SPARK-11692:
------------------------------------

             Summary: Support for Parquet logical types, JSON and BISON 
(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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to