lidavidm commented on code in PR #13344:
URL: https://github.com/apache/arrow/pull/13344#discussion_r899186417
##########
cpp/src/arrow/compute/exec/aggregate.cc:
##########
@@ -61,7 +61,10 @@ Result<std::vector<std::unique_ptr<KernelState>>>
InitKernels(
// use known default options for the named function if possible
auto maybe_function =
ctx->func_registry()->GetFunction(aggregates[i].function);
if (maybe_function.ok()) {
- options = maybe_function.ValueOrDie()->default_options();
+ FunctionOptions* default_opts =
maybe_function.ValueOrDie()->default_options();
Review Comment:
Hmm, I guess this doesn't work. Maybe
`std::move(maybe_function).MoveValueUnsafe()->default_options()` or something?
--
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]