wzhfy commented on PR #37404:
URL: https://github.com/apache/spark/pull/37404#issuecomment-1206010912

   > Different sessions can share this cache. Maybe you can set 
`spark.sql.metadataCacheTTLSeconds` to a positive value to workaround this 
issue?
   
   @wangyum IIUC different sessions' file status cache is separated, but they 
share memory, so clean file status when closing session asap is necessary: 
https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileStatusCache.scala#L157


-- 
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]

Reply via email to