You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/08 15:23:06 UTC

[GitHub] [spark] arkguil removed a comment on issue #22696: [SPARK-25708][SQL] HAVING without GROUP BY means global aggregate

arkguil removed a comment on issue #22696: [SPARK-25708][SQL] HAVING without GROUP BY means global aggregate
URL: https://github.com/apache/spark/pull/22696#issuecomment-490529740
 
 
   Indeed. Postgresql fails with 
   `ERROR: column "t.id" must appear in the GROUP BY clause or be used in an aggregate function Position: 8`
   
   Basically, HAVING implementation seems very different across RDBMS... But you are right that the standard clearly state that a GROUP BY is REQUIRED: https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#having-clause
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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