Skip to content

Commit 3add48b

Browse files
committed
fix comments
1 parent 7fb89a2 commit 3add48b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/paimon/core/realtime/arrow_realtime_store.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ Result<std::vector<std::unique_ptr<BatchReader>>> ArrowRealtimeStore::CreateComm
783783
if (!spilled_segment) {
784784
return Status::Invalid("unknown Arrow real-time segment type");
785785
}
786-
const int32_t batch_count = static_cast<int32_t>(spilled_segment->GetBatches().size());
786+
const auto batch_count = static_cast<int32_t>(spilled_segment->GetBatches().size());
787787
PAIMON_ASSIGN_OR_RAISE(
788788
std::shared_ptr<SharedSpillFileReader> file_reader,
789789
SharedSpillFileReader::Create(spilled_segment->GetFile(), batch_count, arrow_pool_));

0 commit comments

Comments
 (0)