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

HiveMetastoreCatalog does not correctly validate partitioned metastore relation when searching the internal table cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • SQL

    Description

      The getCached method of HiveMetastoreCatalog computes pathsInMetastore from the metastore relation's catalog table. This only returns the table base path, which is not correct for non-empty partitioned tables. As a result, cache lookups on non-empty partitioned tables always miss and these relations are always recomputed.

      Attachments

        Activity

          People

            michael Michael MacFadden
            michael Michael MacFadden
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: