Apache DataFusion SQL Query Engine
chore: fix two comment typos (#22524)
Matt Van Hornd3983d3f9a9b
diff --git a/datafusion/core/tests/dataframe/mod.rs b/datafusion/core/tests/dataframe/mod.rsindex 19d5ecb842..6512d9b432 100644--- a/datafusion/core/tests/dataframe/mod.rs+++ b/datafusion/core/tests/dataframe/mod.rs@@ -840,7 +840,7 @@ async fn test_aggregate_with_pk() -> Result<()> {let aggr_expr = vec![];let df = df.aggregate(group_expr, aggr_expr)?;- // Since id and name are functionally dependant, we can use name among+ // Since id and name are functionally dependent, we can use name among// expression even if it is not part of the group by expression and can// select "name" column even though it wasn't explicitly groupedlet df = df.select(vec![col("id"), col("name")])?;@@ -895,7 +895,7 @@ async fn test_aggregate_with_pk2() -> Result<()> {");- // Since id and name are functionally dependant, we can use name among expression+ // Since id and name are functionally dependent, we can use name among expression// even if it is not part of the group by expression.let df_results = df.collect().await?;@@ -943,7 +943,7 @@ async fn test_aggregate_with_pk3() -> Result<()> {");- // Since id and name are functionally dependant, we can use name among expression+ // Since id and name are functionally dependent, we can use name among expression// even if it is not part of the group by expression.let df_results = df.collect().await?;diff --git a/datafusion/physical-plan/src/aggregates/group_values/multi_group_by/mod.rs b/datafusion/physical-plan/src/aggregates/group_values/multi_group_by/mod.rsindex 12d80b1f9b..cf2d4f49ae 100644--- a/datafusion/physical-plan/src/aggregates/group_values/multi_group_by/mod.rs+++ b/datafusion/physical-plan/src/aggregates/group_values/multi_group_by/mod.rs@@ -734,7 +734,7 @@ impl<const STREAMING: bool> GroupValuesColumn<STREAMING> {////// The hash collision may be not frequent, so the fallback will indeed hardly happen./// In most situations, `scalarized_indices` will found to be empty after finishing to- /// preform `vectorized_equal_to`.+ /// perform `vectorized_equal_to`.fn scalarized_intern_remaining(&mut self,cols: &[ArrayRef],