| 115 | std::make_unique<VectorFunctionOneArg>()); |
| 116 | |
| 117 | void registerVectorFunctions() { |
| 118 | BOLT_REGISTER_VECTOR_FUNCTION(udf_vector_function_two_args, "my_function"); |
| 119 | BOLT_REGISTER_VECTOR_FUNCTION( |
| 120 | udf_vector_function_one_arg, "my_function_one_arg"); |
| 121 | BOLT_REGISTER_VECTOR_FUNCTION( |
| 122 | udf_vector_function_one_arg, "my_func_return_type"); |
| 123 | |
| 124 | registerFunction<SimpleFunctionTwoArgs, bool, Generic<T1>, Generic<T1>>( |
| 125 | {"my_function"}); |
| 126 | registerFunction<SimpleFunctionTwoArgs, bool, Generic<T1>, Generic<T1>>( |
| 127 | {"my_function_one_arg"}); |
| 128 | } |
| 129 | } // namespace bytedance::bolt::functions |
| 130 | namespace bytedance::bolt::exec { |
| 131 | namespace { |