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 <[email protected]>
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.

In fact, Mkdocs also generates the doc
`generated-window-funcs-examples.html`
This PR just updates the `sql-ref-functions-builtin.md`

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 <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
(cherry picked from commit d2c5c53a5c21a72b3e00ecc48e6cac6ae73c3c23)
Signed-off-by: Hyukjin Kwon <[email protected]>
---
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: [email protected]
For additional commands, e-mail: [email protected]