Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23506

Add refreshByPath in HiveMetastoreCatalog and invalidByPath in FileStatusCache

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.1.0
    • None
    • SQL

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            qq403977698 guichaoxian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: