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

Method Init

cpp/src/arrow/compute/function.cc:215–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 }
214
215 Status Init(const FunctionOptions* options, ExecContext* exec_ctx) override {
216 if (exec_ctx == NULLPTR) {
217 exec_ctx = default_exec_context();
218 }
219 kernel_ctx = KernelContext{exec_ctx, kernel};
220 return KernelInit(options);
221 }
222
223 Result<Datum> Execute(const std::vector<Datum>& args, int64_t passed_length) override {
224 util::tracing::Span span;

Callers 2

KernelInitMethod · 0.45
ExecuteInternalFunction · 0.45

Calls 1

default_exec_contextFunction · 0.85

Tested by

no test coverage detected