gengliangwang commented on code in PR #45990:
URL: https://github.com/apache/spark/pull/45990#discussion_r1563255189
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/CacheManager.scala:
##########
@@ -204,6 +215,8 @@ class CacheManager extends Logging with
AdaptiveSparkPlanHelper {
cachedData = cachedData.filterNot(cd => plansToUncache.exists(_ eq cd))
}
plansToUncache.foreach {
_.cachedRepresentation.cacheBuilder.clearCache(blocking) }
+ CacheManager.logCacheOperation(s"Removed ${plansToUncache.size} Dataframe
cache " +
Review Comment:
I think we need to migrate to the structured logging API here.
Framework: https://github.com/apache/spark/pull/45729
Example migration PR: https://github.com/apache/spark/pull/45834
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]