Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
zanmato1984 committed Sep 12, 2024
1 parent c4659e2 commit 2c16f32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cpp/src/arrow/compute/row/grouper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,9 @@ struct AnyKeysSegmenter : public BaseRowSegmenter {
// previous batch
bool extends = kDefaultExtends;
if (save_group_id_ != kNoGroupId) {
// the group id must be computed prior to resetting the grouper, since it is compared
// to save_group_id_, and after resetting the grouper produces incomparable group ids
// the group id must be computed prior to resetting the grouper, since it is
// compared to save_group_id_, and after resetting the grouper produces incomparable
// group ids
ARROW_ASSIGN_OR_RAISE(auto group_id, MapGroupIdAt(batch));
// it "extends" unless the group id differs from the last group id
extends = (group_id == save_group_id_);
Expand Down

0 comments on commit 2c16f32

Please sign in to comment.