You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2014/11/22 10:21:33 UTC

[jira] [Commented] (SPARK-4552) query for empty parquet table in spark sql hive get IllegalArgumentException

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

Apache Spark commented on SPARK-4552:
-------------------------------------

User 'scwf' has created a pull request for this issue:
https://github.com/apache/spark/pull/3413

> query for empty parquet table in spark sql hive get IllegalArgumentException
> ----------------------------------------------------------------------------
>
>                 Key: SPARK-4552
>                 URL: https://issues.apache.org/jira/browse/SPARK-4552
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: wangfei
>             Fix For: 1.2.0
>
>
> run
> create table test_parquet(key int, value string) stored as parquet;
> select * from test_parquet;
> get error as follow
> java.lang.IllegalArgumentException: Could not find Parquet metadata at path file:/user/hive/warehouse/test_parquet
> at org.apache.spark.sql.parquet.ParquetTypesConverter$$anonfun$readMetaData$4.apply(ParquetTypes.scala:459)
> at org.apache.spark.sql.parquet.ParquetTypesConverter$$anonfun$readMetaData$4.apply(ParquetTypes.scala:459)
> at scala.Option.getOrElse(Option.scala:120)
> at org.apache.spark.sql.parquet.ParquetTypesConverter$.readMetaData(ParquetTypes.sc



--
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