tadeja commented on code in PR #48267:
URL: https://github.com/apache/arrow/pull/48267#discussion_r2635185899
##########
cpp/src/arrow/compute/function_internal.h:
##########
@@ -352,6 +352,14 @@ static inline Result<std::shared_ptr<Scalar>>
GenericToScalar(
return MakeNullScalar(value);
}
+static inline Result<std::shared_ptr<Scalar>> GenericToScalar(
Review Comment:
Great point, I'll remove that and modify the existing template instead to
handle this building error.
```
In file included from */cpp/src/arrow/compute/api_vector.cc:30:
*/cpp/src/arrow/compute/function_internal.h:587:19: error: no matching
function for call to 'GenericToScalar'
587 | auto result = GenericToScalar(prop.get(obj_));
| ^~~~~~~~~~~~~~~
```
--
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]