[ https://issues.apache.org/jira/browse/SPARK-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905464#comment-16905464 ]
Omer Ozarslan commented on SPARK-2489: -------------------------------------- Can we reopen this? It seems this is bulk closed, but this issue isn't fixed as of Spark 2.4.3. There is a pull request available which isn't merged. > 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, 2.2.0 > Reporter: Pei-Lun Lee > Priority: Major > Labels: bulk-closed > > 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 (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org