lquerel opened a new issue, #34186:
URL: https://github.com/apache/arrow/issues/34186

   ### Describe the enhancement requested
   
   The signature of `MapType` constructor is `func MapOf(key, item DataType) 
*MapType`. The field `MapType.value` is private and the pointer returned by 
`MapType.ValueType` doesn't give access to the fields of the underlying 
`StructType`.
   
   I propose to add an additional constructor to specificy these metadata with 
the following signature:
   
   ```go
   func MapOfWithMetadata(
     keyDT DataType, 
     keyMetadata Metadata, 
     valueDT DataType, 
     valueMetadata Metadata,
   ) *MapType
   ```
   
   ### Component(s)
   
   Go


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

Reply via email to