@@ -174,7 +174,7 @@ class NumPyConverter {
174174 public:
175175 NumPyConverter (MemoryPool* pool, PyObject* arr, PyObject* mo,
176176 const std::shared_ptr<DataType>& type, bool from_pandas,
177- const compute::CastOptions& cast_options= compute::CastOptions())
177+ const compute::CastOptions& cast_options = compute::CastOptions())
178178 : pool_(pool),
179179 type_ (type),
180180 arr_(reinterpret_cast <PyArrayObject*>(arr)),
@@ -413,7 +413,8 @@ inline Status NumPyConverter::ConvertData(std::shared_ptr<Buffer>* data) {
413413 RETURN_NOT_OK (NumPyDtypeToArrow (reinterpret_cast <PyObject*>(dtype_), &input_type));
414414
415415 if (!input_type->Equals (*type_)) {
416- RETURN_NOT_OK (CastBuffer (input_type, *data, length_, nullptr , 0 , type_, cast_options_, pool_, data));
416+ RETURN_NOT_OK (CastBuffer (input_type, *data, length_, nullptr , 0 , type_,
417+ cast_options_, pool_, data));
417418 }
418419
419420 return Status::OK ();
@@ -473,7 +474,8 @@ inline Status NumPyConverter::ConvertData<Date32Type>(std::shared_ptr<Buffer>* d
473474 RETURN_NOT_OK (NumPyDtypeToArrow (reinterpret_cast <PyObject*>(dtype_), &input_type));
474475 if (!input_type->Equals (*type_)) {
475476 RETURN_NOT_OK (
476- CastBuffer (input_type, *data, length_, nullptr , 0 , type_, cast_options_, pool_, data));
477+ CastBuffer (input_type, *data, length_, nullptr , 0 , type_, cast_options_,
478+ pool_, data));
477479 }
478480 }
479481
@@ -520,7 +522,8 @@ inline Status NumPyConverter::ConvertData<Date64Type>(std::shared_ptr<Buffer>* d
520522 RETURN_NOT_OK (NumPyDtypeToArrow (reinterpret_cast <PyObject*>(dtype_), &input_type));
521523 if (!input_type->Equals (*type_)) {
522524 RETURN_NOT_OK (
523- CastBuffer (input_type, *data, length_, nullptr , 0 , type_, cast_options_, pool_, data));
525+ CastBuffer (input_type, *data, length_, nullptr , 0 , type_, cast_options_,
526+ pool_, data));
524527 }
525528 }
526529
0 commit comments