huaxingao opened a new pull request, #14777:
URL: https://github.com/apache/iceberg/pull/14777

   * Fix NameMapping loss in ParquetUtil.footerMetrics
   
   When footerMetrics was called with a NameMapping, it correctly applied the 
mapping to get field IDs but then passed the wrong MessageType to 
ParquetMetrics.metrics, causing the IDs to be lost. This resulted in empty 
metrics for Parquet files without embedded field IDs.
   
   Fixed by passing parquetTypeWithIds instead of the original messageType.
   
   * Addressed review comments
   
   (cherry picked from commit a3c538f647a113cf61dbfd7855d9c71da8c722ba)


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