Describe the bug, including details regarding any error messages, version, and platform.
| // First try and bind exactly |
| Result<const Kernel*> maybe_exact_match = call.function->DispatchExact(types); |
| if (maybe_exact_match.ok()) { |
| call.kernel = *maybe_exact_match; |
| if (FinishBind().ok()) { |
| returnExpression(std::move(call)); |
| } |
| } |
| |
| if (!insert_implicit_casts) { |
| return maybe_exact_match.status(); |
| } |
In L569 we only handle the ok case for FinishBind(). If not ok, and insert_implicit_casts is false, we'll return maybe_exact_match.status() instead of the real (bad) one of FinishBind().
Component(s)
C++
Describe the bug, including details regarding any error messages, version, and platform.
arrow/cpp/src/arrow/compute/expression.cc
Lines 565 to 576 in 2214848
In L569 we only handle the ok case for
FinishBind(). If not ok, andinsert_implicit_castsisfalse, we'll returnmaybe_exact_match.status()instead of the real (bad) one ofFinishBind().Component(s)
C++