RussellSpitzer commented on issue #12112:
URL: https://github.com/apache/iceberg/issues/12112#issuecomment-2616037020

   The scan api strips out stats from the File objects unless they are 
requested to save memory.
   
   
https://github.com/apache/iceberg/blob/6ec3de390d3fa6e797c6975b1eaaea41719db0fe/core/src/main/java/org/apache/iceberg/DataTableScan.java#L80
   
   ```scala
   x
     .newScan()
     .includeColumnStats() // ** Required to not discard stats after planning **
     .planFiles()
     .iterator()
     .asScala
     .map( file => file.file().lowerBounds()).toList
   res21: List[java.util.Map[Integer,java.nio.ByteBuffer]] = 
List(org.apache.iceberg.util.SerializableMap@e1785)
   ```


-- 
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]

Reply via email to