arrow_data::transform

Function build_extend_dictionary

Source
fn build_extend_dictionary(
    array: &ArrayData,
    offset: usize,
    max: usize,
) -> Option<Box<dyn Fn(&mut _MutableArrayData<'_>, usize, usize, usize) + '_>>
Expand description

Builds an extend that adds offset to the source primitive Additionally validates that max fits into the the underlying primitive returning None if not