pub fn add_scalar_dyn<T>(
    array: &dyn Array,
    scalar: T::Native
) -> Result<ArrayRef> where
    T: ArrowNumericType,
    T::Native: Add<Output = T::Native>, 
Expand description

Add every value in an array by a scalar. If any value in the array is null then the result is also null. The given array must be a PrimitiveArray of the type same as the scalar, or a DictionaryArray of the value type same as the scalar.