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.