dongjoon-hyun commented on a change in pull request #24598: [SPARK-27699][SQL] Partially push down disjunctive predicated in Parquet/ORC URL: https://github.com/apache/spark/pull/24598#discussion_r284903573
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2Strategy.scala ########## @@ -44,27 +44,35 @@ object DataSourceV2Strategy extends Strategy with PredicateHelper { filters: Seq[Expression]): (Seq[Expression], Seq[Expression]) = { scanBuilder match { case r: SupportsPushDownFilters => - // A map from translated data source filters to original catalyst filter expressions. + // A map from translated data source leaf node filters to original catalyst filter + // expressions. For a `And`/`Or` predicate, it is possible that the predicate is partially + // pushed down. This map can used to construct a catalyst filter expression from the input Review comment: `can used` -> `can be used`? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org