Skip to main content

first_field_with_dict_id

Function first_field_with_dict_id 

Source
fn first_field_with_dict_id(fields: &Fields, id: i64) -> Option<&Field>
Expand description

Returns the first field with dictionary id, in [Schema::fields_with_dict_id] order.

Unlike that method this stops at the first match without collecting every nested field, which is significant when a stream has many dictionary batches.