nchammas commented on code in PR #58038:
URL: https://github.com/apache/spark/pull/58038#discussion_r3796840219


##########
docs/sql-ref-null-semantics.md:
##########
@@ -273,6 +273,15 @@ SELECT count(age) FROM person;
 |         5|
 +----------+
 
+-- `count(DISTINCT age)` also skips `NULL`. A null group is not a distinct 
counted value.
+-- This is different from GROUP BY / SELECT DISTINCT, which put all nulls in 
one bucket.

Review Comment:
   Nit: I think we don't need the second sentence.
   
   ```suggestion
   -- `count(DISTINCT age)` also skips `NULL`. This is different from GROUP BY 
/ SELECT DISTINCT,
   -- which put all nulls in one bucket.
   ```



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to