cloud-fan commented on a change in pull request #35079:
URL: https://github.com/apache/spark/pull/35079#discussion_r777963872



##########
File path: docs/sql-ref-syntax-qry-select-window.md
##########
@@ -39,17 +39,21 @@ window_function OVER
     * Ranking Functions
 
       **Syntax:** `RANK | DENSE_RANK | PERCENT_RANK | NTILE | ROW_NUMBER`
+      
+      Note: Cannot append `[ { IGNORE | RESPECT } NULLS ]`
 
     * Analytic Functions
 
-      **Syntax:** `CUME_DIST | LAG | LEAD`
+      **Syntax:** `[ CUME_DIST | [ LAG | LEAD | NTH_VALUE | FIRST_VALUE | 
LAST_VALUE ] [ { IGNORE | RESPECT } NULLS ] ]`
 
     * Aggregate Functions
 
       **Syntax:** `MAX | MIN | COUNT | SUM | AVG | ...`
 
       Please refer to the [Built-in Aggregation 
Functions](sql-ref-functions-builtin.html#aggregate-functions) document for a 
complete list of Spark aggregate functions.
 
+      Note: Cannot append `[ { IGNORE | RESPECT } NULLS ]`
+
 * **window_frame**

Review comment:
       Can we add a new section for `{ IGNORE | RESPECT } NULLS`? We need to 
explain its semantic, the default value, and can apply to which functions.




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