GitHub user cloud-fan opened a pull request: https://github.com/apache/spark/pull/15900
[SPARK-18464][SQL] support old table which doesn't store schema in metastore ## What changes were proposed in this pull request? Before Spark 2.1, users can create an external data source table without schema, and we will infer the table schema at runtime. In Spark 2.1, we decided to infer the schema when the table was created, so that we don't need to infer it again and again at runtime. This is a good improvement, but we should still respect and support old tables which doesn't store table schema in metastore. ## How was this patch tested? regression test. You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloud-fan/spark hive-catalog Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/15900.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #15900 ---- commit a75cf309a4141da0271bca11769b8355bb493758 Author: Wenchen Fan <wenc...@databricks.com> Date: 2016-11-16T06:09:18Z support old table which doesn't store schema in table properties ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org