apache/spark — pull request #3441 by liancheng (2014-11-25 03:46:20+00:00)
Title: [SPARK-3575][SQL][WIP] Removes the Metastore Parquet conversion hack

Still a WIP.

This PR tries to remove the Metastore Parquet conversion hack by moving the conversion logic to `HiveMetastoreCatalog`, i.e., convert `MetastoreRelation` to `ParquetRelation` when we find that the Hive table is backed by Parquet. Also, the converted `ParquetRelation` inherits the original Hive schema.

TODO

- [ ] Add tests
- [ ] Fix partitioning tests failure
- [ ] Remove `spark.sql.parquet.binaryAsString`