GitHub user windpiger opened a pull request: https://github.com/apache/spark/pull/17119
[SPARK-19784][SQL]refresh table after alter the location ## What changes were proposed in this pull request? currently if we alter the location of a datasource table, then we select from it, it still return the data of the old location. ## How was this patch tested? unit test added You can merge this pull request into a Git repository by running: $ git pull https://github.com/windpiger/spark alterLocationShouldRefresh Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17119.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 #17119 ---- commit 3a7067ee9264e44a7d953989c525ea5f16b611d2 Author: windpiger <song...@outlook.com> Date: 2017-03-01T10:21:10Z [SPARK-19577][SQL]refresh table after alter the location commit 9050349fff162ea9c0c506f4021fc4585fe09026 Author: windpiger <song...@outlook.com> Date: 2017-03-01T10:28:22Z add hive table test ---- --- 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