[ 
https://issues.apache.org/jira/browse/SPARK-28506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17240650#comment-17240650
 ] 

Dylan Guedes commented on SPARK-28506:
--------------------------------------

I took this based on their golden files; maybe they changed the behavior in 
recent versions.

If you ran both queries in PgSQL and in SparkSQL and the output was the same 
you can close this just fine I think.

> not handling usage of group function and window function at some conditions
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-28506
>                 URL: https://issues.apache.org/jira/browse/SPARK-28506
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Dylan Guedes
>            Priority: Major
>
> Hi,
> looks like SparkSQL is not able to handle this query:
> {code:sql}SELECT rank() OVER (ORDER BY 1), count(*) FROM empsalary GROUP BY 
> 1;{code}
> PgSQL, on the other hand, does.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to