[ 
https://issues.apache.org/jira/browse/SPARK-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Armbrust resolved SPARK-4552.
-------------------------------------
    Resolution: Fixed

Issue resolved by pull request 3586
[https://github.com/apache/spark/pull/3586]

> 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
>            Assignee: Michael Armbrust
>            Priority: Blocker
>             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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to