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

Function CheckOptions

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

Source from the content-addressed store, hash-verified

102namespace {
103
104Status CheckOptions(const Function& function, const FunctionOptions* options) {
105 if (options == nullptr && function.doc().options_required) {
106 return Status::Invalid("Function '", function.name(),
107 "' cannot be called without options");
108 }
109 return Status::OK();
110}
111
112} // namespace
113

Callers 4

KernelInitMethod · 0.70
ExecuteMethod · 0.70
AddCallbackMethod · 0.50
TryAddCallbackMethod · 0.50

Calls 3

InvalidFunction · 0.50
OKFunction · 0.50
nameMethod · 0.45

Tested by

no test coverage detected