[fix](array-type) fix be occasional coredump when use stream load (#11997)
Co-authored-by: hucheng01 <hucheng01@baidu.com>
This commit is contained in:
@ -172,6 +172,9 @@ RowBatch::RowBatch(const RowDescriptor& row_desc, const PRowBatch& input_batch)
|
||||
// copy collection slots
|
||||
for (auto slot_collection : desc->collection_slots()) {
|
||||
DCHECK(slot_collection->type().is_collection_type());
|
||||
if (tuple->is_null(slot_collection->null_indicator_offset())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
CollectionValue* array_val =
|
||||
tuple->get_collection_slot(slot_collection->tuple_offset());
|
||||
|
||||
Reference in New Issue
Block a user