spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-15968) HiveMetastoreCatalog does not correctly validate partitioned metastore relation when searching the internal table cache
Date Wed, 20 Jul 2016 16:46:20 GMT

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

Reynold Xin updated SPARK-15968:
--------------------------------
    Fix Version/s:     (was: 2.1.0)

> HiveMetastoreCatalog does not correctly validate partitioned metastore relation when
searching the internal table cache
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-15968
>                 URL: https://issues.apache.org/jira/browse/SPARK-15968
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Michael Allman
>            Assignee: Michael Allman
>              Labels: hive, metastore
>             Fix For: 2.0.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message