zhangxinyao88 opened a new issue, #18391:
URL: https://github.com/apache/iceberg/issues/18391

   ### Apache Iceberg version
   
   main (development)
   
   ### Query engine
   
   Other
   
   ### Please describe the bug 🐞
   
   Follow-up to #18173 and [the review on 
#18321](https://github.com/apache/iceberg/pull/18321#pullrequestreview-5365276171).
   
   The Parquet reader converts `TIME_MILLIS` values from milliseconds to 
microseconds, but `ParquetConversions` leaves min/max statistics unchanged. 
Since Iceberg time values use microseconds, row-group filtering and file 
metrics can use statistics in the wrong unit.
   
   The statistics conversion should multiply `TIME_MILLIS` values by 1,000 to 
match the reader.
   
   ### Willingness to contribute
   
   - [x] I can contribute a fix for this bug independently


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