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

Function AddBaseListFlattenKernels

cpp/src/arrow/compute/kernels/vector_nested.cc:240–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238
239template <typename InListType>
240void AddBaseListFlattenKernels(VectorFunction* func) {
241 auto in_type = {InputType(InListType::type_id)};
242 auto out_type = OutputType(ListValuesType);
243 VectorKernel kernel(in_type, out_type, ListFlatten<InListType>,
244 OptionsWrapper<ListFlattenOptions>::Init);
245 DCHECK_OK(func->AddKernel(std::move(kernel)));
246}
247
248void AddBaseListFlattenKernels(VectorFunction* func) {
249 AddBaseListFlattenKernels<ListType>(func);

Callers 1

RegisterVectorNestedFunction · 0.85

Calls 3

InputTypeFunction · 0.85
OutputTypeFunction · 0.85
AddKernelMethod · 0.45

Tested by

no test coverage detected