File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ pub(crate) fn rewrite_recursive_unnests_bottom_up(
374374pub 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
378378A full example of how the transformation works:
379379 */
380380struct 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 > > {
You can’t perform that action at this time.
0 commit comments