You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:14:40 UTC

[jira] [Resolved] (SPARK-23506) Add refreshByPath in HiveMetastoreCatalog and invalidByPath in FileStatusCache

     [ https://issues.apache.org/jira/browse/SPARK-23506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-23506.
----------------------------------
    Resolution: Incomplete

> Add refreshByPath in HiveMetastoreCatalog and invalidByPath in FileStatusCache
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-23506
>                 URL: https://issues.apache.org/jira/browse/SPARK-23506
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: guichaoxian
>            Priority: Major
>              Labels: bulk-closed
>
> As far as I know HiveMetastoreCatalog only have a method called refreshTable,this method will remove all meta of a table cached in memory.
> In some situation, I only change files of a partition. use refreshTable to invalid all file status is Inefficient.
> I think we can add a method called invalidByPath in FileStatusCache and a method refreshByPath in HiveMetastoreCatalog.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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