[Description]
Should only be possible in a LATERAL subquery.aggregate functions are not allowed in FROM clause of their own query level.
[System Processing]
Processing will be aborted.
[Action]
To investigate the cause of the occurrence from the message, and remove cause.