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

Function CheckDispatchFails

cpp/src/arrow/compute/kernels/test_util_internal.cc:331–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331void CheckDispatchFails(std::string func_name, std::vector<TypeHolder> types) {
332 ASSERT_OK_AND_ASSIGN(auto function, GetFunctionRegistry()->GetFunction(func_name));
333 ASSERT_NOT_OK(function->DispatchBest(&types));
334 ASSERT_NOT_OK(function->DispatchExact(types));
335}
336
337} // namespace compute
338} // namespace arrow

Callers 1

TESTFunction · 0.85

Calls 2

DispatchBestMethod · 0.45
DispatchExactMethod · 0.45

Tested by

no test coverage detected