gengliangwang commented on a change in pull request #28948:
URL: https://github.com/apache/spark/pull/28948#discussion_r447272447
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/CacheManager.scala
##########
@@ -248,12 +248,17 @@ class CacheManager extends Logging with
AdaptiveSparkPlanHelper {
* `HadoopFsRelation` node(s) as part of its logical plan.
*/
def recacheByPath(spark: SparkSession, resourcePath: String): Unit = {
Review comment:
how about we change the method as
```
def recacheByPath(spark: SparkSession, resourcePath: String, options:
Map[String, String]=Map.empty)
```
so that we can avoid the new method below?
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]