gengliangwang commented on code in PR #50571:
URL: https://github.com/apache/spark/pull/50571#discussion_r2040356861


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceStrategy.scala:
##########
@@ -257,12 +257,14 @@ class FindDataSourceTable(sparkSession: SparkSession) 
extends Rule[LogicalPlan]
       QualifiedTableName(table.identifier.catalog.get, table.database, 
table.identifier.table)
     val catalog = sparkSession.sessionState.catalog
     val dsOptions = DataSourceUtils.generateDatasourceOptions(extraOptions, 
table)
+    val readDataSourceCacheIgnoreOptions: Boolean =

Review Comment:
   readFileSourceTableCacheIgnoreOptions



##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceStrategy.scala:
##########
@@ -274,13 +276,16 @@ class FindDataSourceTable(sparkSession: SparkSession) 
extends Rule[LogicalPlan]
         catalog.cacheTable(qualifiedTableName, plan)
         plan
 
-      // If the cached table relation's options differ from the new options:
+      // If readDataSourceCacheIgnoreOptions is false AND

Review Comment:
   readFileSourceTableCacheIgnoreOptions



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to