andygrove commented on issue #3820:
URL:
https://github.com/apache/arrow-datafusion/issues/3820#issuecomment-1297759967
The issue is in this part of the plan:
```
Projection: group_alias_0 AS p_brand, group_alias_1 AS p_type,
group_alias_2 AS p_size, COUNT(alias1) AS COUNT(DISTINCT partsupp.ps_suppkey)
Aggregate: groupBy=[[group_alias_0, group_alias_1, group_alias_2]],
aggr=[[COUNT(alias1)]]
Aggregate: groupBy=[[part.p_brand AS group_alias_0, part.p_type AS
group_alias_1, part.p_size AS group_alias_2, partsupp.ps_suppkey AS alias1]],
aggr=[[]]
```
We have `part.p_brand AS group_alias_0` and later `group_alias_0 AS
p_brand`, dropping the qualifier.
--
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]