Is your feature request related to a problem or challenge? Please describe what you are trying to do.
When implementing #8331, I found that we have added integer support for variant to arrow primitive, and need to support the remaining primitive types.
pub(crate) trait VariantAsPrimitive<T: ArrowPrimitiveType> {
fn as_primitive(&self) -> Option<T::Native>;
}
Describe the solution you'd like
Add support for the remaining types of variants to arrow primitive, and add tests for them.
tests can be ref to variant.rs#get_variant_perfectly_shredded_int32_as_int32
Describe alternatives you've considered
Additional context