Description
Currently, Spark allows calls to `count` even for non parameterless aggregate function. For example, the following query actually works:
SELECT count() OVER () FROM tenk1;
In PgSQL, on the other hand, the following error is thrown:
ERROR: count(*) must be used to call a parameterless aggregate function