| 1088 | } |
| 1089 | |
| 1090 | void AddScalarFunction() { |
| 1091 | auto registry = GetFunctionRegistry(); |
| 1092 | |
| 1093 | auto func = std::make_shared<ScalarFunction>("test_scalar_add_int32", Arity::Binary(), |
| 1094 | /*doc=*/FunctionDoc::Empty()); |
| 1095 | ASSERT_OK(func->AddKernel({int32(), int32()}, int32(), ExecAddInt32)); |
| 1096 | ASSERT_OK(registry->AddFunction(func)); |
| 1097 | } |
| 1098 | }; |
| 1099 | |
| 1100 | bool TestCallScalarFunction::initialized_ = false; |
nothing calls this directly
no test coverage detected