spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-6148) cachedDataSourceTables may store outdated metadata if the table is updated from another HiveContext
Date Wed, 04 Mar 2015 01:22:04 GMT

    [ https://issues.apache.org/jira/browse/SPARK-6148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14346165#comment-14346165
] 

Yin Huai commented on SPARK-6148:
---------------------------------

To workaround this issue. Users need to use refreshTable to ask cachedDataSourceTables to
load the latest metadata.

> cachedDataSourceTables may store outdated metadata if the table is updated from another
HiveContext
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-6148
>                 URL: https://issues.apache.org/jira/browse/SPARK-6148
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Yin Huai
>
> If we have two HiveContext, if we change a table through one (e.g. append and overwrite
with new data), cachedDataSourceTables in another one will not be updated automatically
> . 



--
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