fn list_primitive<'a, T>( list: &'a ListArray, name: &str, ) -> Result<&'a PrimitiveArray<T>>where T: ArrowPrimitiveType,