Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Jun 7, 2024
1 parent e558c5e commit 54c321c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/velox/utils/VeloxBatchAppender.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ std::shared_ptr<ColumnarBatch> VeloxBatchAppender::next() {
buffer->append(rv.get());

for (auto nextCb = in_->next(); nextCb != nullptr; nextCb = in_->next()) {
auto nextVb = VeloxColumnarBatch::from(pool_, cb);
auto nextVb = VeloxColumnarBatch::from(pool_, nextCb);
auto nextRv = nextVb->getRowVector();
buffer->append(nextRv.get());
if (buffer->size() >= minOutputBatchSize_) {
Expand Down

0 comments on commit 54c321c

Please sign in to comment.