fn get_int_value(array: &ArrayRef, index: usize) -> Result<i64>
Extract integer value from various integer types.