alanhe opened a new issue, #2119:
URL: https://github.com/apache/arrow-rs/issues/2119

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   With `MapBuilder`, it's not possible to build the sample schema described in 
the spec: 
https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#backward-compatibility-rules-1
   ```
   optional group my_map (MAP) {
     repeated group map {
       required binary str (UTF8);
       required int32 num;
     }
   }
   ```
   
   because in Line 141, nullable is hard-coded to `true`.
   
   
https://github.com/apache/arrow-rs/blob/3096591520d303eb34a432c82733e86f34999232/arrow/src/array/builder/map_builder.rs#L138-L142
   
   So, it will also be `optional int32 num`.
   
   **Describe the solution you'd like**
   Can we make it configurable?
   


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