spark-instrumented-optimizer/sql/core/src/test
Cheng Lian 937c1e5503 [SPARK-6315] [SQL] Also tries the case class string parser while reading Parquet schema
When writing Parquet files, Spark 1.1.x persists the schema string into Parquet metadata with the result of `StructType.toString`, which was then deprecated in Spark 1.2 by a schema string in JSON format. But we still need to take the old schema format into account while reading Parquet files.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/5034)
<!-- Reviewable:end -->

Author: Cheng Lian <lian@databricks.com>

Closes #5034 from liancheng/spark-6315 and squashes the following commits:

a182f58 [Cheng Lian] Adds a regression test
b9c6dbe [Cheng Lian] Also tries the case class string parser while reading Parquet schema
2015-03-21 11:18:45 +08:00
..
java/test/org/apache/spark/sql [SPARK-6007][SQL] Add numRows param in DataFrame.show() 2015-02-26 10:40:58 -08:00
resources [SPARK-5454] More robust handling of self joins 2015-02-11 12:31:56 -08:00
scala/org/apache/spark/sql [SPARK-6315] [SQL] Also tries the case class string parser while reading Parquet schema 2015-03-21 11:18:45 +08:00