alamb commented on code in PR #27299:
URL: https://github.com/apache/datafusion/pull/27299#discussion_r4784693315


##########
benchmarks/sql_benchmarks/grouped_count_distinct/README.md:
##########
@@ -20,10 +20,26 @@ distributed rewrite, which remains selected with either 
flag value. The same
 environment variable works with `./bench.sh run grouped_count_distinct`.
 
 Q01-Q09 vary argument and grouping-key types, group count, distinct 
cardinality,
-and skew. Q10 covers the unfavorable native shape: at the default four million
-rows it has one million groups, each with four copies of the same value. Each
-native input row probes both the group table and the per-group distinct set;
-the rewrite's outer aggregate only sees the deduplicated pairs.
+and skew. Q10 has one million groups, each with four copies of the same value,
+at the default four million rows. It exercises the native accumulator's inline
+first value, which lets repeated singleton values skip the distinct hash set.
+The rewrite's outer aggregate only sees the deduplicated pairs.
+
+After each update or merge batch, the native accumulator checks the average

Review Comment:
   this described how the accumulator works, not the benchmark -- it should be 
near the accumualtro



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to