Github user oliviertoupin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/7049#discussion_r33397370
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/parquet/newParquet.scala ---
    @@ -295,7 +287,6 @@ private[sql] class ParquetRelation2(
               val inputFormat = if (cacheMetadata) {
                 new FilteringParquetRowInputFormat {
                   override def listStatus(jobContext: JobContext): 
JList[FileStatus] = cachedStatuses
    -              override def getFooters(jobContext: JobContext): 
JList[Footer] = cachedFooters
    --- End diff --
    
    Removed in order to prevent eager evaluation of footers. However, I'm not 
even sure this code is helpful. Could some provide a real world scenario where 
it would be useful? No performance hit in our workload.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to