mapleFU commented on code in PR #37271:
URL: https://github.com/apache/arrow/pull/37271#discussion_r1300855362
##########
cpp/src/arrow/compute/function_internal.cc:
##########
@@ -83,7 +83,8 @@ Result<std::unique_ptr<FunctionOptions>>
GenericOptionsType::Deserialize(
Result<std::unique_ptr<FunctionOptions>> DeserializeFunctionOptions(
const Buffer& buffer) {
- io::BufferReader stream(buffer);
+ // FIXME: Would ToString to heavy?
Review Comment:
I wonder would this be a bit heavy? Should I implement a
`DeserializeFunctionOptions(const std::shared_ptr<Buffer>& buffer)`
--
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]