jayzhan211 commented on code in PR #12617:
URL: https://github.com/apache/datafusion/pull/12617#discussion_r1776115903


##########
datafusion/physical-plan/src/aggregates/group_values/column_wise.rs:
##########
@@ -36,7 +36,7 @@ use datafusion_physical_expr::binary_map::OutputType;
 
 use hashbrown::raw::RawTable;
 
-/// Compare GroupValue Rows column by column
+/// A [`GroupValues`] that stores multiple columns of group values.

Review Comment:
   Consider the following example, (1, 'a') is one of the group values, so is 
(2, 'b') and (3, 'c')
   ```
   statement ok
   create table t(a int, b varchar) as values (1, 'a'), (2, 'b'), (1, 'a'), (3, 
'c');
   
   query ITI
   select a, b, count(*) from t group by a, b;
   ----
   1 a 2
   2 b 1
   3 c 1
   ```



-- 
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...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to