Skip to content

Commit 27e587c

Browse files
author
Rafał Hibner
committed
Lint
1 parent ac1fb44 commit 27e587c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

cpp/src/arrow/acero/options.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,20 +202,20 @@ class ARROW_ACERO_EXPORT RecordBatchReaderSourceNodeOptions : public ExecNodeOpt
202202
/// Create an instance from values
203203
RecordBatchReaderSourceNodeOptions(std::shared_ptr<RecordBatchReader> reader,
204204
arrow::internal::Executor* io_executor = NULLPTR,
205-
bool implicit_ordering=false)
206-
: reader(std::move(reader)), io_executor(io_executor),implicit_ordering(implicit_ordering) {}
205+
bool implicit_ordering = false)
206+
: reader(std::move(reader)),
207+
io_executor(io_executor),
208+
implicit_ordering(implicit_ordering) {}
207209

208210
/// \brief The RecordBatchReader which acts as the data source
209211
std::shared_ptr<RecordBatchReader> reader;
210212

211-
212213
/// \brief The executor to use for the reader
213214
///
214215
/// Defaults to the default I/O executor.
215216
arrow::internal::Executor* io_executor;
216217

217-
218-
bool implicit_ordering{false};
218+
bool implicit_ordering{false};
219219
};
220220

221221
/// a source node that reads from an iterator of array vectors

cpp/src/arrow/acero/source_node.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,8 @@ struct RecordBatchReaderSourceNode : public SourceNode {
416416
const auto& cast_options =
417417
checked_cast<const RecordBatchReaderSourceNodeOptions&>(options);
418418
auto& reader = cast_options.reader;
419-
Ordering ordering = cast_options.implicit_ordering?Ordering::Implicit():Ordering::Unordered();
419+
Ordering ordering =
420+
cast_options.implicit_ordering ? Ordering::Implicit() : Ordering::Unordered();
420421
auto io_executor = cast_options.io_executor;
421422

422423
if (reader == nullptr) {

0 commit comments

Comments
 (0)