Skip to content

Apache DataFusion SQL Query Engine

Fixing a typo in documentation (#1997)

Palladiumb6c8265ba33e
diff --git a/datafusion-expr/src/window_function.rs b/datafusion-expr/src/window_function.rs
index bccf653b0c..cdb4a158e1 100644
--- a/datafusion-expr/src/window_function.rs
+++ b/datafusion-expr/src/window_function.rs
@@ -84,7 +84,7 @@ pub enum BuiltInWindowFunction {
RowNumber,
/// rank of the current row with gaps; same as row_number of its first peer
Rank,
- /// ank of the current row without gaps; this function counts peer groups
+ /// rank of the current row without gaps; this function counts peer groups
DenseRank,
/// relative rank of the current row: (rank - 1) / (total rows - 1)
PercentRank,