nbruno opened a new pull request #9088:
URL: https://github.com/apache/arrow/pull/9088


   Based on [this 
commit](https://github.com/apache/arrow/commit/c15a511ea19b7ed58e706ef6c8197fe9ed982a8b),
 it seems that the correct format for metadata serialization is 
`List<Map<String, String>>` since it was decided to deserialize it in this 
format. 
   
   There are several ways to accomplish this, but this PR takes a 
less-impactful approach of defining the correct getter for Jackson to use. 
Other approaches could be more aggressive and propagate this change throughout 
the codebase, modifying the `Schema#getCustomMetadata` and `Field#getMetadata` 
method to return `List<Map<String, String>>`, but at that point it would 
probably make more sense to get rid of the notion of "converting" metadata 
entirely.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to