| 27 | }; |
| 28 | |
| 29 | static std::unique_ptr<FunctionBindData> bindFunc(const ScalarBindFuncInput& input) { |
| 30 | auto scalarFunction = dynamic_cast_checked<ScalarFunction*>(input.definition); |
| 31 | const auto& resultType = ListType::getChildType(input.arguments[0]->dataType); |
| 32 | TypeUtils::visit(resultType.getPhysicalType(), [&scalarFunction]<typename T>(T) { |
| 33 | scalarFunction->execFunc = |
| 34 | ScalarFunction::UnaryExecNestedTypeFunction<list_entry_t, T, ListAnyValue>; |
| 35 | }); |
| 36 | return FunctionBindData::getSimpleBindData(input.arguments, resultType); |
| 37 | } |
| 38 | |
| 39 | function_set ListAnyValueFunction::getFunctionSet() { |
| 40 | function_set result; |
nothing calls this directly
no test coverage detected