fn build_extend_null_bits( array: &ArrayData, use_nulls: bool, ) -> Box<dyn Fn(&mut _MutableArrayData<'_>, usize, usize) + '_>