beliefer opened a new pull request, #37116:
URL: https://github.com/apache/spark/pull/37116

   ### What changes were proposed in this pull request?
   Currently, Spark have a lot of built-in aggregate functions.
   But the SQL Reference cannot find these aggregate functions directly and 
cannot describe the special syntax for PERCENTILE_CONT and PERCENTILE_DISC.
   
   
   ### Why are the changes needed?
   Add SQL reference for aggregate functions
   
   
   ### Does this PR introduce _any_ user-facing change?
   'Yes'.
   Users can find these aggregate functions directly and the special syntax for 
PERCENTILE_CONT and PERCENTILE_DISC.
   
   Before this PR, the part 'Data Retrieval Statements' of 'SQL Syntax' show 
below.
   
![image](https://user-images.githubusercontent.com/8486025/177722840-b3b6cee3-cb73-467d-8ccb-f8eb00e87304.png)
   After this PR, the part 'Data Retrieval Statements' of 'SQL Syntax' show 
below.
   
![image](https://user-images.githubusercontent.com/8486025/177723000-55bb175b-9379-4f50-9ff8-87f89f30bd9a.png)
   
   The page 'Aggregate Functions' show below.
   
![image](https://user-images.githubusercontent.com/8486025/177723163-49ade016-a9b1-4c70-bd4e-fc8cb5d3ad1f.png)
   
![image](https://user-images.githubusercontent.com/8486025/177723272-f9f5d099-9d56-42fa-90ca-b213a1c826a9.png)
   
![image](https://user-images.githubusercontent.com/8486025/177723319-746b721f-1c10-478d-8bf2-76dbf0722112.png)
   
   
   ### How was this patch tested?
   N/A
   


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to