cloud-fan commented on code in PR #42318:
URL: https://github.com/apache/spark/pull/42318#discussion_r1283283625


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala:
##########
@@ -288,14 +299,6 @@ trait FileSourceScanLike extends DataSourceScanExec {
     }
   }
 
-  /**
-   * [[partitionFilters]] can contain subqueries whose results are available 
only at runtime so
-   * accessing [[selectedPartitions]] should be guarded by this method during 
planning
-   */
-  private def hasPartitionsAvailableAtRunTime: Boolean = {

Review Comment:
   this is not needed anymore because `selectedPartitions` will not evaluate 
dynamic filters.



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