mapleFU commented on issue #37840:
URL: https://github.com/apache/arrow/issues/37840#issuecomment-1733215867
Oops, let me have a try with master, I've check some `CountRows` and `Scan`
code in master but at first glance they should works well.
I've test that the result status of `Scan` is failed like above:
```
Result<const Kernel*> CastFunction::DispatchExact(
const std::vector<TypeHolder>& types) const {
RETURN_NOT_OK(CheckArity(types.size()));
std::vector<const ScalarKernel*> candidate_kernels;
for (const auto& kernel : kernels_) {
if (kernel.signature->MatchesInputs(types)) {
candidate_kernels.push_back(&kernel);
}
}
if (candidate_kernels.size() == 0) {
return Status::NotImplemented("Unsupported cast from ",
types[0].type->ToString(),
" to ", ToTypeName(out_type_id_), " using
function ",
this->name());
}
```
--
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]