oakad opened a new issue, #796:
URL: https://github.com/apache/arrow-go/issues/796

   ### Describe the enhancement requested
   
   When populating `RecordBuilder` batches from row based data, we frequently 
end up in a situation, whereupon some sort of error prevents processing on an 
entire incoming data row. This will result in some field values (first few) 
being added to field arrays, whereupon some remaining field arrays will remain 
shorter, as incoming row processing was aborted.
   
   Of course, `NewRecordBatch` method has a check to prevent such record 
batches from actually going somewhere.
   
   But what will be really useful, is to have a method which will truncate the 
extant field arrays within `RecordBuilder` to the length of the shortest one 
amongst them, effectively discarding the incomplete rows.
   
   This simple method will simplify non-critical error processing 
substantially, without forcing users to build their own, potentially buggy 
methods doing the same with individual `Builder.Resize` methods.
   
   ### Component(s)
   
   Other


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