-
- Downloads
[SPARK-4552][SQL] Avoid exception when reading empty parquet data through Hive
This is a very small fix that catches one specific exception and returns an empty table. #3441 will address this in a more principled way. Author: Michael Armbrust <michael@databricks.com> Closes #3586 from marmbrus/fixEmptyParquet and squashes the following commits: 2781d9f [Michael Armbrust] Handle empty lists for newParquet 04dd376 [Michael Armbrust] Avoid exception when reading empty parquet data through Hive
Showing
- sql/core/src/main/scala/org/apache/spark/sql/parquet/newParquet.scala 4 additions, 1 deletion.../main/scala/org/apache/spark/sql/parquet/newParquet.scala
- sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveStrategies.scala 52 additions, 44 deletions...main/scala/org/apache/spark/sql/hive/HiveStrategies.scala
- sql/hive/src/test/scala/org/apache/spark/sql/parquet/parquetSuites.scala 6 additions, 0 deletions...st/scala/org/apache/spark/sql/parquet/parquetSuites.scala
Please register or sign in to comment