pub fn as_date64_array(
    array: &dyn Array
) -> Result<&Date64Array, DataFusionError>