xitep commented on code in PR #2185:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/2185#discussion_r2746255644


##########
src/ast/query.rs:
##########
@@ -475,6 +475,10 @@ impl fmt::Display for Select {
             SpaceOrNewline.fmt(f)?;
             Indent(selection).fmt(f)?;
         }
+        if let Some(ref connect_by) = self.connect_by {
+            SpaceOrNewline.fmt(f)?;
+            connect_by.fmt(f)?;
+        }

Review Comment:
   i can't verify this change for snowflake, but [this 
doc](https://docs.snowflake.com/en/sql-reference/constructs) indicates to me 
that it's ok



##########
src/ast/query.rs:
##########
@@ -374,6 +374,8 @@ pub struct Select {
     pub prewhere: Option<Expr>,
     /// WHERE
     pub selection: Option<Expr>,
+    /// START WITH .. CONNECT BY

Review Comment:
   ```suggestion
       /// [START WITH ..] CONNECT BY ..
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to