Github user gatorsmile commented on the pull request:

    https://github.com/apache/spark/pull/10731#issuecomment-198082449
  
    Just confirmed what @hvanhovell said, Netezza and Terradata support "group 
by position". 
    
    - 
https://www.ibm.com/support/knowledgecenter/api/content/nl/en-us/SSULQD_7.2.0/com.ibm.nz.dbu.doc/r_dbuser_select.html
    - 
http://tunweb.teradata.ws/tunstudent/TeradataUserManuals/Teradata_SQL_Quick_Reference.pdf
    
    Also confirmed what @rxin said, in Group By, the position is based on the 
output columns (select expression). 
    
    Thus, I think the integer in `groupingExpressions` should be resolved based 
on `aggregateExpressions` of `Aggregate`. Please let me know if my 
understanding is wrong. Thanks!


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