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

   …ntain special characters.
   
   Iceberg escape special characters in field names when converting Schema to 
Parquet MessageType or Avro Schema: 
   
https://github.com/apache/iceberg/blob/7a247fdb44110363bd9e87d1ace91497fd72ba92/core/src/main/java/org/apache/iceberg/avro/AvroSchemaUtil.java#L429-L434
   so the MetricsMode obtained by the field name in the file schema might be 
wrong if the column name is an escaped one. This pr updates MetricsConfig to 
use column id to track MetricsMode to solve this issue.


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