Skip to content

Commit

Permalink
kernel.cc: Make the ANY_TYPE handling less confusing
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrv committed Jun 6, 2024
1 parent 84b44d8 commit 997b35f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/compute/kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,9 @@ bool InputType::Matches(const DataType& type) const {
case InputType::USE_TYPE_MATCHER:
return type_matcher_->Matches(type);
case InputType::ANY_TYPE:
break;
return true;
}
return true;
return false;
}

bool InputType::Matches(const Datum& value) const {
Expand Down

0 comments on commit 997b35f

Please sign in to comment.