You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph Su (JIRA)" <ji...@apache.org> on 2014/08/02 11:09:11 UTC

[jira] [Commented] (SPARK-2489) Unsupported parquet datatype optional fixed_len_byte_array

    [ https://issues.apache.org/jira/browse/SPARK-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14083483#comment-14083483 ] 

Joseph Su commented on SPARK-2489:
----------------------------------

https://github.com/apache/spark/pull/1737

> Unsupported parquet datatype optional fixed_len_byte_array
> ----------------------------------------------------------
>
>                 Key: SPARK-2489
>                 URL: https://issues.apache.org/jira/browse/SPARK-2489
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: Pei-Lun Lee
>
> tested against commit 9fe693b5
> {noformat}
> scala> sqlContext.parquetFile("/tmp/foo")
> java.lang.RuntimeException: Unsupported parquet datatype optional fixed_len_byte_array(4) b
> 	at scala.sys.package$.error(package.scala:27)
> 	at org.apache.spark.sql.parquet.ParquetTypesConverter$.toPrimitiveDataType(ParquetTypes.scala:58)
> 	at org.apache.spark.sql.parquet.ParquetTypesConverter$.toDataType(ParquetTypes.scala:109)
> 	at org.apache.spark.sql.parquet.ParquetTypesConverter$$anonfun$convertToAttributes$1.apply(ParquetTypes.scala:282)
> 	at org.apache.spark.sql.parquet.ParquetTypesConverter$$anonfun$convertToAttributes$1.apply(ParquetTypes.scala:279)
> {noformat}
> example avro schema
> {noformat}
> protocol Test {
>     fixed Bytes4(4);
>     record Foo {
>         union {null, Bytes4} b;
>     }
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org