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

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

Peng created SPARK-37718:
----------------------------

             Summary: 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


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