From 2c16f3213b91f10dab4b861d66bd82f7a816ed95 Mon Sep 17 00:00:00 2001 From: Ruoxi Sun Date: Fri, 13 Sep 2024 16:23:37 +0800 Subject: [PATCH] Fix format --- cpp/src/arrow/compute/row/grouper.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpp/src/arrow/compute/row/grouper.cc b/cpp/src/arrow/compute/row/grouper.cc index f7b9b1ddc5f4c..02ed186449d22 100644 --- a/cpp/src/arrow/compute/row/grouper.cc +++ b/cpp/src/arrow/compute/row/grouper.cc @@ -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_);