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

    https://github.com/apache/spark/pull/13566#discussion_r66541600
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala ---
    @@ -226,4 +226,11 @@ abstract class Catalog {
        */
       def refreshTable(tableName: String): Unit
     
    +  /**
    +   * Invalidate and refresh all the cached data (and the associated 
metadata) for any dataframe that
    +   * contains the given data source path.
    +   *
    +   * @since 2.0.0
    +   */
    +  def refreshResource(path: String): Unit
    --- End diff --
    
    I'm confusing with these Catalog/SessionCatalog/ExternalCatalog here, 
thought this is SessionCatalog or ExternalCatalog, so it make sense to be here 
(together with other API related to cache).


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