alamb commented on code in PR #15618:
URL: https://github.com/apache/datafusion/pull/15618#discussion_r2031178801


##########
datafusion/functions-window/src/cume_dist.rs:
##########
@@ -45,18 +45,21 @@ define_udwf_and_expr!(
     doc_section(label = "Ranking Functions"),
     description = "Relative rank of the current row: (number of rows preceding 
or peer with the current row) / (total rows).",
     syntax_example = "cume_dist()",
-    sql_example = r#"-- Example usage of the cume_dist window function:
-SELECT salary,
+    sql_example = r#"```sql
+    --Example usage of the cume_dist window function:
+    SELECT salary,
        cume_dist() OVER (ORDER BY salary) AS cume_dist
-FROM employees;
+    FROM employees;
+```
+```text

Review Comment:
   ```suggestion
   ```sql
   ```



-- 
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: github-unsubscr...@datafusion.apache.org

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


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

Reply via email to