| 931 | }; |
| 932 | |
| 933 | void AddMapLookupKernels(ScalarFunction* func) { |
| 934 | ScalarKernel kernel({InputType(Type::MAP)}, OutputType(ResolveMapLookupType), |
| 935 | ResolveMapLookup::Exec, OptionsWrapper<MapLookupOptions>::Init); |
| 936 | kernel.null_handling = NullHandling::COMPUTED_NO_PREALLOCATE; |
| 937 | kernel.mem_allocation = MemAllocation::NO_PREALLOCATE; |
| 938 | DCHECK_OK(func->AddKernel(std::move(kernel))); |
| 939 | } |
| 940 | |
| 941 | const FunctionDoc map_lookup_doc{ |
| 942 | "Find the items corresponding to a given key in a Map", |
no test coverage detected