| 635 | } |
| 636 | |
| 637 | Status RegisterAggregateFunction(PyObject* function, UdfWrapperCallback cb, |
| 638 | const UdfOptions& options, |
| 639 | compute::FunctionRegistry* registry) { |
| 640 | RETURN_NOT_OK(RegisterScalarAggregateFunction(function, cb, options, registry)); |
| 641 | RETURN_NOT_OK(RegisterHashAggregateFunction(function, cb, options, registry)); |
| 642 | |
| 643 | return Status::OK(); |
| 644 | } |
| 645 | |
| 646 | Result<std::shared_ptr<RecordBatchReader>> CallTabularFunction( |
| 647 | const std::string& func_name, const std::vector<Datum>& args, |
nothing calls this directly
no test coverage detected