From b36912e5d999b33eafe67965b163246f4289ead1 Mon Sep 17 00:00:00 2001 From: Eero Lihavainen Date: Thu, 28 Sep 2023 11:27:54 +0300 Subject: [PATCH] formatting --- cpp/src/arrow/dataset/file_parquet.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cpp/src/arrow/dataset/file_parquet.cc b/cpp/src/arrow/dataset/file_parquet.cc index 46cdb50a56b5d..091bf2ed4631a 100644 --- a/cpp/src/arrow/dataset/file_parquet.cc +++ b/cpp/src/arrow/dataset/file_parquet.cc @@ -483,17 +483,17 @@ Future> ParquetFileFormat::GetReader // TODO(ARROW-12259): workaround since we have Future<(move-only type)> auto path = source.path(); - auto reader_fut = input_fut.Then( - [=](const std::shared_ptr&) mutable - -> Result> { + auto reader_fut = + input_fut.Then([=](const std::shared_ptr&) mutable + -> Result> { ARROW_ASSIGN_OR_RAISE(std::shared_ptr input, input_fut.MoveResult()); - auto rfut = parquet::ParquetFileReader::OpenAsync(std::move(input), std::move(properties), metadata); - ARROW_ASSIGN_OR_RAISE(auto reader, - rfut.MoveResult()); + auto rfut = parquet::ParquetFileReader::OpenAsync( + std::move(input), std::move(properties), metadata); + ARROW_ASSIGN_OR_RAISE(auto reader, rfut.MoveResult()); return reader; }); - + auto self = checked_pointer_cast(shared_from_this()); return reader_fut.Then( [=](const std::unique_ptr&) mutable