pub(crate) fn timestamp_to_date32<T: ArrowTimestampType>(
array: &PrimitiveArray<T>,
cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>pub(crate) fn timestamp_to_date32<T: ArrowTimestampType>(
array: &PrimitiveArray<T>,
cast_options: &CastOptions<'_>,
) -> Result<ArrayRef, ArrowError>