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

Method Init

cpp/src/arrow/acero/plan_test.cc:833–836  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831TEST(ExecPlanExecution, ConsumingSinkError) {
832 struct InitErrorConsumer : public SinkNodeConsumer {
833 Status Init(const std::shared_ptr<Schema>& schema,
834 BackpressureControl* backpressure_control, ExecPlan* plan) override {
835 return Status::Invalid("XYZ");
836 }
837 Status Consume(ExecBatch batch) override { return Status::OK(); }
838 Future<> Finish() override { return Future<>::MakeFinished(); }
839 };

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected