Skip to content

Commit

Permalink
Update VeloxColumnarToRowConverter.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixYBW authored Aug 1, 2024
1 parent 68fc73c commit 8d97833
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void VeloxColumnarToRowConverter::refreshStates(facebook::velox::RowVectorPtr ro
fast_ = std::make_unique<velox::row::UnsafeRowFast>(rowVector);

if (auto fixedRowSize = velox::row::UnsafeRowFast::fixedRowSize(velox::asRowType(rowVector->type()))) {
memThreshold_ == std::max<int64_t>(memThreshold_, fixedRowSize.value());
memThreshold_ = std::max<int64_t>(memThreshold_, fixedRowSize.value());
auto rowSize = fixedRowSize.value();
numRows_ = std::min<int64_t>(memThreshold_ / rowSize, vectorLength - startRow);
} else {
Expand Down

0 comments on commit 8d97833

Please sign in to comment.