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

Function MakeListSliceResolve

cpp/src/arrow/compute/kernels/scalar_nested.cc:398–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396};
397
398Result<TypeHolder> MakeListSliceResolve(KernelContext* ctx,
399 const std::vector<TypeHolder>& types) {
400 const auto& opts = OptionsWrapper<ListSliceOptions>::Get(ctx);
401 const auto* list_type = checked_cast<const BaseListType*>(types[0].type);
402 return ListSliceOutputType(opts, *list_type);
403}
404
405template <typename InListType>
406void AddListSliceKernels(ScalarFunction* func) {

Callers

nothing calls this directly

Calls 2

ListSliceOutputTypeFunction · 0.85
GetFunction · 0.50

Tested by

no test coverage detected