Skip to content

Apache DataFusion SQL Query Engine

Fix typo (#12169)

Piotr Findeisen9ef2f95241fc
diff --git a/datafusion/expr/src/utils.rs b/datafusion/expr/src/utils.rs
index 11a244a944..8f04d3ec30 100644
--- a/datafusion/expr/src/utils.rs
+++ b/datafusion/expr/src/utils.rs
@@ -463,7 +463,7 @@ pub fn expand_qualified_wildcard(
/// if bool is true SortExpr comes from `PARTITION BY` column, if false comes from `ORDER BY` column
type WindowSortKey = Vec<(Expr, bool)>;
-/// Generate a sort key for a given window expr's partition_by and order_bu expr
+/// Generate a sort key for a given window expr's partition_by and order_by expr
pub fn generate_sort_key(
partition_by: &[Expr],
order_by: &[Expr],