Eduardo Ponce created ARROW-14203:
-------------------------------------
Summary: [C++] Fix description of ExecBatch.length for Scalars in
aggregate kernels
Key: ARROW-14203
URL: https://issues.apache.org/jira/browse/ARROW-14203
Project: Apache Arrow
Issue Type: Bug
Reporter: Eduardo Ponce
Fix For: 6.0.0
[The comment for the *length* data member of
ExecBatch|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/exec.h#L202-L211]
states that it will always have a value of 1 for Scalar types. This is
misleading/incorrect because for aggregate kernels you could have an ExecBatch
formed by projecting just the partition columns from a batch, in which case
you'd have scalar rows with a length > 1.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)