lgbo-ustc commented on issue #8432:
URL:
https://github.com/apache/incubator-gluten/issues/8432#issuecomment-2572172989
```sql
explain select n_regionkey, n_nationkey, count(distinct n_name, n_nationkey)
from tpch_pq.nation group by n_regionkey, n_nationkey;
```
```
CHNativeColumnarToRow
+- ^(6) HashAggregateTransformer(keys=[n_regionkey#2L, n_nationkey#0L],
functions=[count(distinct n_name#1, n_nationkey#0L)], isStreamingAgg=false)
+- ^(6) InputIteratorTransformer[n_regionkey#2L, n_nationkey#0L,
count#28L]
+- ColumnarExchange hashpartitioning(n_regionkey#2L, n_nationkey#0L,
5), ENSURE_REQUIREMENTS, [plan_id=405], [shuffle_writer_type=hash], [OUTPUT]
ArrayBuffer(n_regionkey:LongType, n_nationkey:LongType, count:LongType)
+- ^(5) HashAggregateTransformer(keys=[n_regionkey#2L,
n_nationkey#0L], functions=[partial_count(distinct n_name#1, n_nationkey#0L)],
isStreamingAgg=false)
+- ^(5) HashAggregateTransformer(keys=[n_regionkey#2L,
n_nationkey#0L, n_name#1], functions=[], isStreamingAgg=false)
+- ^(5) InputIteratorTransformer[n_regionkey#2L,
n_nationkey#0L, n_name#1]
+- ColumnarExchange hashpartitioning(n_regionkey#2L,
n_nationkey#0L, n_name#1, n_nationkey#0L, 5), ENSURE_REQUIREMENTS,
[plan_id=399], [shuffle_writer_type=hash], [OUTPUT] List(n_regionkey:LongType,
n_nationkey:LongType, n_name:StringType)
+- ^(4) HashAggregateTransformer(keys=[n_regionkey#2L,
n_nationkey#0L, n_name#1], functions=[], isStreamingAgg=false)
+- ^(4) FileScanTransformer parquet
tpch_pq.nation[n_nationkey#0L,n_name#1,n_regionkey#2L]
```
--
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]