alamb commented on code in PR #6957:
URL: https://github.com/apache/arrow-datafusion/pull/6957#discussion_r1263037928


##########
datafusion/physical-expr/src/aggregate/bit_and_or_xor.rs:
##########
@@ -279,35 +280,31 @@ impl AggregateExpr for BitAnd {
         use std::ops::BitAndAssign;
         match self.data_type {
             DataType::Int8 => {
-                instantiate_primitive_accumulator!(self, Int8Type, |x, y| x
-                    .bitand_assign(y))
+                instantiate_accumulator!(self, -1, Int8Type, |x, y| 
x.bitand_assign(y))

Review Comment:
   Comment added in  https://github.com/apache/arrow-datafusion/pull/6964



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to