Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17512#discussion_r109798528
  
    --- Diff: python/pyspark/sql/catalog.py ---
    @@ -276,14 +277,24 @@ def clearCache(self):
     
         @since(2.0)
         def refreshTable(self, tableName):
    -        """Invalidate and refresh all the cached metadata of the given 
table."""
    +        """Invalidates and refreshes all the cached data and metadata of 
the given table."""
             self._jcatalog.refreshTable(tableName)
     
         @since('2.1.1')
         def recoverPartitions(self, tableName):
    -        """Recover all the partitions of the given table and update the 
catalog."""
    +        """Recovers all the partitions of the given table and update the 
catalog.
    +
    +        Only works with a partitioned table, and not a temporary view.
    --- End diff --
    
    `a temporary view` -> `a view`
    
    Both temporary and persistent views are not supported. We will detect and 
issue exceptions.


---
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]

Reply via email to