olaky commented on code in PR #39408:
URL: https://github.com/apache/spark/pull/39408#discussion_r1062515380
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/PartitioningAwareFileIndex.scala:
##########
@@ -76,7 +76,7 @@ abstract class PartitioningAwareFileIndex(
// be applied to files.
val fileMetadataFilterOpt = dataFilters.filter { f =>
f.references.nonEmpty && f.references.forall {
- case FileSourceMetadataAttribute(_) => true
+ case FileSourceConstantMetadataAttribute(_) => true
Review Comment:
It would also be possible to exclude row index by name here, but that seems
to defeat the purpose of categorising the metadata columns
--
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]