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

Function RegisterVectorFunction

python/pyarrow/src/arrow/python/udf.cc:496–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494}
495
496Status RegisterVectorFunction(PyObject* function, UdfWrapperCallback cb,
497 const UdfOptions& options,
498 compute::FunctionRegistry* registry) {
499 return RegisterUdf<compute::VectorFunction, compute::VectorKernel>(
500 function, PythonUdfKernelInit{std::make_shared<OwnedRefNoGIL>(function)}, cb,
501 options, registry);
502}
503
504Status RegisterTabularFunction(PyObject* function, UdfWrapperCallback cb,
505 const UdfOptions& options,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected