diff --git a/dwio/nimble/velox/VeloxReader.cpp b/dwio/nimble/velox/VeloxReader.cpp index 90b0b66..f779089 100644 --- a/dwio/nimble/velox/VeloxReader.cpp +++ b/dwio/nimble/velox/VeloxReader.cpp @@ -515,11 +515,11 @@ std::unique_ptr VeloxReader::getUnitLoader() { stripe, *tabletReader_, schema_, offsets_)); } if (parameters_.unitLoaderFactory) { - return parameters_.unitLoaderFactory->create(std::move(units)); + return parameters_.unitLoaderFactory->create(std::move(units), 0); } velox::dwio::common::OnDemandUnitLoaderFactory factory( parameters_.blockedOnIoCallback); - return factory.create(std::move(units)); + return factory.create(std::move(units), 0); } uint32_t VeloxReader::getUnitIndex(uint32_t stripeIndex) const {