Dylan Guedes created SPARK-28646:
------------------------------------
Summary: Allow usage of `count` only for parameterless aggregate
function
Key: SPARK-28646
URL: https://issues.apache.org/jira/browse/SPARK-28646
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.0.0
Reporter: Dylan Guedes
Currently, Spark allows calls to `count` even for non parameterless aggregate
function. For example, the following query actually works:
{code:sql}SELECT count() OVER () FROM tenk1;{code}
In PgSQL, on the other hand, the following error is thrown:
{code:sql}ERROR: count(*) must be used to call a parameterless aggregate
function{code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]