This is an automated email from the ASF dual-hosted git repository. gurwls223 pushed a commit to branch branch-3.3 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.3 by this push: new 142b933eebe [SPARK-38933][SQL][DOCS] Add examples of window functions into SQL docs 142b933eebe is described below commit 142b933eebec4feb58ea3643cc55e9480204fe8a Author: Jiaan Geng <belie...@163.com> AuthorDate: Tue Apr 19 10:41:39 2022 +0900 [SPARK-38933][SQL][DOCS] Add examples of window functions into SQL docs Currently, Spark SQL docs display the window functions without examples. ![image](https://user-images.githubusercontent.com/8486025/163788857-38313a9c-48b2-4b72-bc60-38056d91124e.png) In fact, Mkdocs also generates the doc `generated-window-funcs-examples.html` This PR just updates the `sql-ref-functions-builtin.md` ![image](https://user-images.githubusercontent.com/8486025/163789775-17255e1a-7f7e-4b79-b780-3b04ba55dde7.png) Let SQL docs display the examples of window functions. 'No'. Just update docs. Manual tests. Closes #36243 from beliefer/SPARK-38933. Authored-by: Jiaan Geng <belie...@163.com> Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> (cherry picked from commit d2c5c53a5c21a72b3e00ecc48e6cac6ae73c3c23) Signed-off-by: Hyukjin Kwon <gurwls...@apache.org> --- docs/sql-ref-functions-builtin.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/sql-ref-functions-builtin.md b/docs/sql-ref-functions-builtin.md index cabb83e09fd..08e620b0f4f 100644 --- a/docs/sql-ref-functions-builtin.md +++ b/docs/sql-ref-functions-builtin.md @@ -31,6 +31,8 @@ license: | {% if static_file.name == 'generated-window-funcs-table.html' %} ### Window Functions {% include_relative generated-window-funcs-table.html %} +#### Examples +{% include_relative generated-window-funcs-examples.html %} {% break %} {% endif %} {% endfor %} --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org