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

Method ResolveType

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

Source from the content-addressed store, hash-verified

387 TypeHolder resolved_type;
388
389 Result<TypeHolder> ResolveType(compute::KernelContext* ctx,
390 const std::vector<TypeHolder>& types) {
391 if (input_types == types) {
392 if (!resolved_type) {
393 ARROW_ASSIGN_OR_RAISE(resolved_type, output_type.Resolve(ctx, input_types));
394 }
395 return resolved_type;
396 }
397 return output_type.Resolve(ctx, types);
398 }
399
400 Status Exec(compute::KernelContext* ctx, const compute::ExecSpan& batch,
401 compute::ExecResult* out) {

Callers

nothing calls this directly

Calls 2

ARROW_ASSIGN_OR_RAISEFunction · 0.50
ResolveMethod · 0.45

Tested by

no test coverage detected