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
Describe the enhancement requested
When populating
RecordBuilderbatches 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,
NewRecordBatchmethod 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
RecordBuilderto 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.Resizemethods.Component(s)
Other