cloud-fan commented on code in PR #42317: URL: https://github.com/apache/spark/pull/42317#discussion_r1354840980
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/InjectRuntimeFilter.scala: ########## @@ -29,7 +29,14 @@ import org.apache.spark.sql.internal.SQLConf import org.apache.spark.sql.types._ /** - * Insert a filter on one side of the join if the other side has a selective predicate. + * Insert a runtime filter on one side of the join (we call this side the application side) if + * the plan of other side satisfy one of the following scenes: Review Comment: We can be general here and mention details in the corresponding methods. Here can be ``` Insert a runtime filter on one side of the join (we call this side the application side) if we can extract a runtime filter from the other side (creation side). A simple case is that the creation side is a table scan with a selective filter. ``` -- 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]
