cloud-fan commented on a change in pull request #23918: [SPARK-27011] reset
command fails with cache
URL: https://github.com/apache/spark/pull/23918#discussion_r263738944
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/CacheManager.scala
##########
@@ -245,7 +246,7 @@ class CacheManager extends Logging {
// node, so that the returned caching plan won't replace the hint node
and drop the hint info
// from the original plan.
case hint: ResolvedHint => hint
-
+ case command: IgnoreCachedData => command
Review comment:
nit: move it to the first case so that it's more obvious we ignore it
```
plan transformDown {
case p: IgnoreCachedData => p
...
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]