cloud-fan commented on a change in pull request #33650:
URL: https://github.com/apache/spark/pull/33650#discussion_r701246016
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/FileScanBuilder.scala
##########
@@ -57,6 +68,34 @@ abstract class FileScanBuilder(
StructType(fields)
}
+ override def pushFilters(filters: Seq[Expression]): Seq[Expression] = {
+ val partitionColNames =
+ partitionSchema.fields.map(PartitioningUtils.getColName(_,
isCaseSensitive)).toSet
Review comment:
the input `filters` are already normalized. We can simply compare the
names instead of considering the case sensitivity.
--
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]