[
https://issues.apache.org/jira/browse/SPARK-19845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898591#comment-15898591
]
Wenchen Fan commented on SPARK-19845:
-------------------------------------
In this case, I think we have to uncache the table when alter the location.
> failed to uncache datasource table after the table location altered
> -------------------------------------------------------------------
>
> Key: SPARK-19845
> URL: https://issues.apache.org/jira/browse/SPARK-19845
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.2.0
> Reporter: Song Jun
>
> Currently if we first cache a datasource table, then we alter the table
> location,
> then we drop the table, uncache table will failed in the DropTableCommand,
> because the location has changed and sameResult for two InMemoryFileIndex
> with different location return false, so we can't find the table key in the
> cache.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]