Skip to content

Commit 71bc68f

Browse files
authored
chore: Fix typos in comments (#20157)
## Are these changes tested? `cargo fmt` ## Are there any user-facing changes? No
1 parent 8ba3d26 commit 71bc68f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

datafusion/sql/src/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ pub(crate) fn rewrite_recursive_unnests_bottom_up(
374374
pub const UNNEST_PLACEHOLDER: &str = "__unnest_placeholder";
375375

376376
/*
377-
This is only usedful when used with transform down up
377+
This is only useful when used with transform down up
378378
A full example of how the transformation works:
379379
*/
380380
struct RecursiveUnnestRewriter<'a> {
@@ -496,7 +496,7 @@ impl TreeNodeRewriter for RecursiveUnnestRewriter<'_> {
496496
type Node = Expr;
497497

498498
/// This downward traversal needs to keep track of:
499-
/// - Whether or not some unnest expr has been visited from the top util the current node
499+
/// - Whether or not some unnest expr has been visited from the top until the current node
500500
/// - If some unnest expr has been visited, maintain a stack of such information, this
501501
/// is used to detect if some recursive unnest expr exists (e.g **unnest(unnest(unnest(3d column))))**
502502
fn f_down(&mut self, expr: Expr) -> Result<Transformed<Expr>> {

0 commit comments

Comments
 (0)