GitHub user cloud-fan opened a pull request: https://github.com/apache/spark/pull/16528
[SPARK-19148][SQL] do not expose the external table concept in Catalog ## What changes were proposed in this pull request? In https://github.com/apache/spark/pull/16296 , we reached a consensus that we should hide the external/managed table concept to users and only expose custom table path. This PR renames `Catalog.createExternalTable` to `createTable`(still keep the old versions for backward compatibility), and only set the table type to EXTERNAL if `path` is specified in options. ## How was this patch tested? new tests in `CatalogSuite` You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloud-fan/spark create-table Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16528.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 #16528 ---- commit f06ed16e184117ce7b748a53abc4209215df3699 Author: Wenchen Fan <wenc...@databricks.com> Date: 2017-01-10T12:29:36Z do not expose the external table concept in Catalog ---- --- 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