GitHub user ouyangxiaochen opened a pull request: https://github.com/apache/spark/pull/16868
[SPARK-19115] [SQL] Supporting Create External Table Like Location What changes were proposed in this pull request? Support CREATE [EXTERNAL] TABLE LIKE LOCATION... syntax for Hive tables. In this PR,we follow SparkSQL design rules : supporting create external table like view or physical table or temporary view with location. creating an external table without location,we will throw an OpreationNotAllowed exception. creating a managed table with location,this table will be an external table other than managed table. How was this patch tested? Add new test cases and update existing test cases You can merge this pull request into a Git repository by running: $ git pull https://github.com/ouyangxiaochen/spark spark19115 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16868.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 #16868 ---- commit 222180901fd65c01bd04844a548cf046f671478d Author: ouyangxiaochen <ou.yangxiaoc...@zte.com.cn> Date: 2017-02-09T07:30:21Z resolve the conflicts ---- --- 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