You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dylan Guedes (JIRA)" <ji...@apache.org> on 2019/07/24 17:16:00 UTC

[jira] [Created] (SPARK-28506) now handling usage of group function and window function at some conditions

Dylan Guedes created SPARK-28506:
------------------------------------

             Summary: now 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.0.0
            Reporter: Dylan Guedes


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
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org