Skip to content

Commit

Permalink
Pass UnitLoaderFactory to NimbleReader
Browse files Browse the repository at this point in the history
Summary: As said

Differential Revision: D56739290
  • Loading branch information
Daniel Munoz authored and facebook-github-bot committed Apr 30, 2024
1 parent 13888d6 commit 68189af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dwio/nimble/velox/VeloxReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "velox/dwio/common/ColumnSelector.h"
#include "velox/dwio/common/ExecutorBarrier.h"
#include "velox/dwio/common/FlatMapHelper.h"
#include "velox/dwio/common/UnitLoader.h"
#include "velox/type/Type.h"
#include "velox/vector/BaseVector.h"

Expand Down Expand Up @@ -60,6 +61,8 @@ struct VeloxReadParams : public FieldReaderParams {
// Report the Wall time (us) that we spend decoding.
std::function<void(std::chrono::high_resolution_clock::duration)>
decodingTimeCallback;

std::shared_ptr<velox::dwio::common::UnitLoaderFactory> unitLoaderFactory;
};

class VeloxReader {
Expand Down

0 comments on commit 68189af

Please sign in to comment.