diff --git a/arrow-pyarrow-integration-testing/src/lib.rs b/arrow-pyarrow-integration-testing/src/lib.rs index 659cdeccb577..2b71111af424 100644 --- a/arrow-pyarrow-integration-testing/src/lib.rs +++ b/arrow-pyarrow-integration-testing/src/lib.rs @@ -81,7 +81,7 @@ fn double(array: &PyAny, py: Python) -> PyResult { let array = array.as_any().downcast_ref::().ok_or_else(|| { PyO3ArrowError::ArrowError(ArrowError::ParseError("Expects an int64".to_string())) })?; - let array = kernels::arithmetic::add(&array, &array).map_err(PyO3ArrowError::from)?; + let array = kernels::arithmetic::add(array, array).map_err(PyO3ArrowError::from)?; // export array.to_pyarrow(py)