Github user dilipbiswal commented on the issue:

    https://github.com/apache/spark/pull/13483
  
    @gatorsmile Your last example just shows the inconsistency. Given two 
different parameters, `$"col1", count("*")` and `count("*")`, you get the same 
output. I think this confuses users. In contrast, original API usage has 
consistent behavior: group by columns are retained, and when you add group by 
columns in `agg` API call, it means you want to add duplicate ones.
    
    Of course, that is my opinion. I am not against this change if others think 
it is ok.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to