Skip to content

Apache DataFusion SQL Query Engine

Fix failing documentation check (#17026)

Adam Reeve66d6995b8f62
diff --git a/datafusion/functions-window/src/row_number.rs b/datafusion/functions-window/src/row_number.rs
index 01f52380ba..19d076e052 100644
--- a/datafusion/functions-window/src/row_number.rs
+++ b/datafusion/functions-window/src/row_number.rs
@@ -46,7 +46,7 @@ define_udwf_and_expr!(
doc_section(label = "Ranking Functions"),
description = "Number of the current row within its partition, counting from 1.",
syntax_example = "row_number()",
- sql_example = r"
+ sql_example = r#"
```sql
-- Example usage of the row_number window function:
SELECT department,
@@ -65,7 +65,7 @@ FROM employees;
| Engineering | 80000 | 2 |
+-------------+--------+---------+
```
-#"
+"#
)]
#[derive(Debug)]
pub struct RowNumber {