icexelloss commented on code in PR #34311:
URL: https://github.com/apache/arrow/pull/34311#discussion_r1116042562
##########
cpp/src/arrow/compute/row/grouper.h:
##########
@@ -39,10 +82,19 @@ class ARROW_EXPORT Grouper {
static Result<std::unique_ptr<Grouper>> Make(const std::vector<TypeHolder>&
key_types,
ExecContext* ctx =
default_exec_context());
- /// Consume a batch of keys, producing the corresponding group ids as an
integer array.
+ /// Consume a batch of keys, producing the corresponding group ids as an
integer array,
+ /// over a slice defined by an offset and length, which defaults to the
batch length.
+ /// Currently only uint32 indices will be produced, eventually the bit width
will only
+ /// be as wide as necessary.
+ virtual Result<Datum> Consume(const ExecSpan& batch, int64_t consume_offset
= 0,
Review Comment:
What are these changes for?
--
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]