You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/12/23 03:41:00 UTC

[jira] [Commented] (SPARK-37718) Demo sql is incorrect

    [ https://issues.apache.org/jira/browse/SPARK-37718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17464252#comment-17464252 ] 

Apache Spark commented on SPARK-37718:
--------------------------------------

User 'wooplevip' has created a pull request for this issue:
https://github.com/apache/spark/pull/34992

> Demo sql is incorrect
> ---------------------
>
>                 Key: SPARK-37718
>                 URL: https://issues.apache.org/jira/browse/SPARK-37718
>             Project: Spark
>          Issue Type: Documentation
>          Components: Documentation
>    Affects Versions: 3.2.0
>            Reporter: Peng
>            Priority: Minor
>
> There is a sql statement in this section https://spark.apache.org/docs/latest/sql-ref-null-semantics.html#null-semantics that is incorrect.
> {code:java}
> SELECT * FROM person GROUP BY age HAVING max(age) > 18; {code}
> should be
> {code:java}
> SELECT age, count(*) FROM person GROUP BY age HAVING max(age) > 18;{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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