[ https://issues.apache.org/jira/browse/SPARK-34039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17261036#comment-17261036 ]
Chao Sun commented on SPARK-34039: ---------------------------------- I'm not sure if this is a bug since: 1. the command is only available in v2 so there is no inconsistency like we saw in some other JIRAs. 2. there seems to be no correctness issue: even without the fix, the table cache can't be queried because the table itself is changed. > [DSv2] ReplaceTable should invalidate cache > ------------------------------------------- > > Key: SPARK-34039 > URL: https://issues.apache.org/jira/browse/SPARK-34039 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.2.0 > Reporter: Chao Sun > Assignee: Chao Sun > Priority: Major > Fix For: 3.2.0 > > > Similar to SPARK-33492, which handles the {{ReplaceTableAsSelect}} case, we > should also invalidate table cache in {{ReplaceTable}} v2 command. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org