You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "wangfei (JIRA)" <ji...@apache.org> on 2014/11/22 10:15:33 UTC
[jira] [Created] (SPARK-4552) query for empty parquet table in
spark sql hive get IllegalArgumentException
wangfei created SPARK-4552:
------------------------------
Summary: 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