spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gatorsmile <...@git.apache.org>
Subject [GitHub] spark pull request #17512: [SPARK-20196][PYTHON][SQL] update doc for catalog...
Date Tue, 04 Apr 2017 23:02:11 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message