aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorWeichenXu <WeichenXu123@outlook.com>2016-06-30 23:00:39 +0800
committerCheng Lian <lian@databricks.com>2016-06-30 23:00:39 +0800
commit5344bade8efb6f12aa43fbfbbbc2e3c0c7d16d98 (patch)
tree28713a0ffef28c2f97c523c9f956911bfc3ee2d5 /sql
parent5320adc863ca85b489cef79f156392b9da36e53f (diff)
downloadspark-5344bade8efb6f12aa43fbfbbbc2e3c0c7d16d98.tar.gz
spark-5344bade8efb6f12aa43fbfbbbc2e3c0c7d16d98.tar.bz2
spark-5344bade8efb6f12aa43fbfbbbc2e3c0c7d16d98.zip
[SPARK-15820][PYSPARK][SQL] Add Catalog.refreshTable into python API
## What changes were proposed in this pull request? Add Catalog.refreshTable API into python interface for Spark-SQL. ## How was this patch tested? Existing test. Author: WeichenXu <WeichenXu123@outlook.com> Closes #13558 from WeichenXu123/update_python_sql_interface_refreshTable.
Diffstat (limited to 'sql')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala b/sql/core/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala
index 083a63c98c..91ed9b3258 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala
@@ -214,7 +214,7 @@ abstract class Catalog {
def clearCache(): Unit
/**
- * Invalidate and refresh all the cached the metadata of the given table. For performance reasons,
+ * Invalidate and refresh all the cached metadata of the given table. For performance reasons,
* Spark SQL or the external data source library it uses might cache certain metadata about a
* table, such as the location of blocks. When those change outside of Spark SQL, users should
* call this function to invalidate the cache.