felipecrv commented on code in PR #43542:
URL: https://github.com/apache/arrow/pull/43542#discussion_r1702158871


##########
cpp/src/arrow/compute/kernel.cc:
##########
@@ -430,6 +431,25 @@ bool InputType::Matches(const Datum& value) const {
   return Matches(*value.type());
 }
 
+bool InputType::MatchesDeviceAllocationType(const Datum& value) const {
+  DCHECK(Matches(value));
+  switch (value.kind()) {
+    case Datum::NONE:
+    case Datum::RECORD_BATCH:
+    case Datum::TABLE:

Review Comment:
   I can probably handle these even though they are not passed here.



-- 
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]

Reply via email to