pitrou commented on a change in pull request #10890:
URL: https://github.com/apache/arrow/pull/10890#discussion_r685385348



##########
File path: cpp/src/arrow/compute/kernels/aggregate_test.cc
##########
@@ -189,6 +189,53 @@ TEST(TestBooleanAggregation, Sum) {
               ResultWith(Datum(MakeNullScalar(uint64()))));
 }
 
+TEST(TestBooleanAggregation, Product) {
+  const ScalarAggregateOptions& options = ScalarAggregateOptions::Defaults();
+  ValidateBooleanAgg<Product>("[]", std::make_shared<UInt64Scalar>(), options);

Review comment:
       Ok, but kernel registration does the following:
   ```c++
     aggregate::AddArrayScalarAggKernels(aggregate::ProductInit::Init, 
{boolean()}, int64(),
                                         func.get());
   ```
   
   (same for `Sum`, incidentally)




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