0xderek commented on issue #133:
URL: https://github.com/apache/arrow-go/issues/133#issuecomment-2636800773

   I came across a relevant issue regarding field nullability.
   
   I am trying to build a `Record` and later send it to other system in ipc 
format. I use `array.NewRecordBuilder(allocator, schema)` to get the record 
builder, but the `nullable` property of the fields in the schema is not 
honored. It works without error to specify a non-nullable field in the schema, 
append nulls to the field and get serialized bytes.
   
   Personally, I think this is a bit confusing and error-prone. It's better if 
error is returned somewhere (preferably when `NewRecord` is called since there 
is a call to `validate()` inside).


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