Cerdore commented on issue #39024:
URL: https://github.com/apache/arrow/issues/39024#issuecomment-1835542795
> Just curious, where would `ExtendMatcher` been used?
Sorry, I have added some code to supplement the information.
Regitster Function will use _Matcher_ to construct _InputType_.
```
using SmallIntMatcher = ExtendMatcher<SmallintTypecxs>;
std::shared_ptr<TypeMatcher> SmallIntcxs(Type::type );
InputType in_type(SmallIntcxs(ty.get()->storage_id()));
ARROW_RETURN_NOT_OK(func->AddKernel({in_type,in_type}, int16(),
derived_ptr->exec));
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]