Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update comment
  • Loading branch information
WeichenXu123 committed Jun 16, 2016
commit 87fcb7c6060aa6a5de3d208daffd7581d302c5ff
2 changes: 1 addition & 1 deletion python/pyspark/sql/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def clearCache(self):

@since(2.0)
def refreshTable(self, tableName):
"""Invalidate and refresh all the cached the metadata of the given table."""
"""Invalidate and refresh all the cached metadata of the given table."""
self._jcatalog.refreshTable(tableName)

def _reset(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down