GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/13156
[SPARK-15367] [SQL] Add refreshTable back
#### What changes were proposed in this pull request?
`refreshTable` was a method in `HiveContext`. It was deleted accidentally
while we were migrating the APIs. This PR is to add it back to `HiveContext`.
In addition, in `SparkSession`, we put it under the catalog namespace
(`SparkSession.catalog.refreshTable`).
#### How was this patch tested?
Changed the existing test cases to use the function `refreshTable`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark refreshTable
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13156.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 #13156
----
commit b1cd1c670adbd0db3dcb82831b4aacae514c37f1
Author: gatorsmile <[email protected]>
Date: 2016-05-17T20:38:22Z
initial fix
commit bdd7c61b9d1d7fb1b839485c10f82300304860c1
Author: gatorsmile <[email protected]>
Date: 2016-05-17T21:14:58Z
fix.
commit e3564d5dff530ce84a28d7ed90a4ff4bac7de46b
Author: gatorsmile <[email protected]>
Date: 2016-05-17T21:29:28Z
fix again.
commit c3f3f0b481c5a3fe3b2485ab0d73194dd7898911
Author: gatorsmile <[email protected]>
Date: 2016-05-17T22:03:33Z
revert it back
commit 9e6c4b7d8ef035a63f6c3c219950be326f2e8357
Author: gatorsmile <[email protected]>
Date: 2016-05-17T22:04:01Z
Merge remote-tracking branch 'upstream/master' into refreshTable
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]