MCPcopy Create free account
hub / github.com/apache/arrow / Init

Method Init

cpp/src/arrow/acero/tpch_node.cc:3071–3078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3069 : gen_(std::move(gen)) {}
3070
3071 Status Init(std::vector<std::string> columns, double scale_factor, int64_t batch_size,
3072 int64_t seed) override {
3073 seed_ = seed;
3074 scale_factor_ = scale_factor;
3075 batch_size_ = batch_size;
3076 ARROW_ASSIGN_OR_RAISE(schema_, gen_->SetOrdersOutputColumns(columns));
3077 return Status::OK();
3078 }
3079
3080 Status StartProducing(size_t num_threads, OutputBatchCallback output_callback,
3081 FinishedCallback finished_callback,

Callers

nothing calls this directly

Calls 3

ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected