wzhfy commented on code in PR #37404:
URL: https://github.com/apache/spark/pull/37404#discussion_r949765561
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileStatusCache.scala:
##########
@@ -37,7 +37,7 @@ import org.apache.spark.util.SizeEstimator
object FileStatusCache {
private var sharedCache: SharedInMemoryCache = _
- private[spark] val sessionToCache = new mutable.HashMap[String,
FileStatusCache]
+ private[spark] val sessionToCache = new mutable.HashMap[String,
Seq[FileStatusCache]]
Review Comment:
better to use mutable.Buffer to avoid copy
--
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]