aboutsummaryrefslogtreecommitdiff
path: root/python/pyspark/shell.py
diff options
context:
space:
mode:
authorgatorsmile <gatorsmile@gmail.com>2016-05-20 14:38:25 +0800
committerWenchen Fan <wenchen@databricks.com>2016-05-20 14:38:25 +0800
commit39fd469078271aa12f3163606000e06e382d35dc (patch)
treeb6e107016534279ea96f5fa52b6122ec051273c6 /python/pyspark/shell.py
parentc94b34ebbf4c6ce353c899c571beb34e8db98917 (diff)
downloadspark-39fd469078271aa12f3163606000e06e382d35dc.tar.gz
spark-39fd469078271aa12f3163606000e06e382d35dc.tar.bz2
spark-39fd469078271aa12f3163606000e06e382d35dc.zip
[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`. Also added a test case for refreshTable in `hivecontext-compatibility` Author: gatorsmile <gatorsmile@gmail.com> Closes #13156 from gatorsmile/refreshTable.
Diffstat (limited to 'python/pyspark/shell.py')
0 files changed, 0 insertions, 0 deletions