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

Method Init

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

Source from the content-addressed store, hash-verified

3131 : gen_(std::move(gen)) {}
3132
3133 Status Init(std::vector<std::string> columns, double scale_factor, int64_t batch_size,
3134 int64_t seed) override {
3135 seed_ = seed;
3136 scale_factor_ = scale_factor;
3137 batch_size_ = batch_size;
3138 ARROW_ASSIGN_OR_RAISE(schema_, gen_->SetLineItemOutputColumns(columns));
3139 return Status::OK();
3140 }
3141
3142 Status StartProducing(size_t num_threads, OutputBatchCallback output_callback,
3143 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