pub(crate) fn cast_bool_to_numeric<TO>(
from: &dyn Array,
cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>where
TO: ArrowPrimitiveType,Expand description
Cast Boolean types to numeric
false returns 0 while true returns 1