aharpervc commented on code in PR #1831:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/1831#discussion_r2067493757


##########
src/ast/mod.rs:
##########
@@ -4225,11 +4267,10 @@ impl fmt::Display for Statement {
             Statement::Fetch {
                 name,
                 direction,
+                position,
                 into,
             } => {
-                write!(f, "FETCH {direction} ")?;
-
-                write!(f, "IN {name}")?;
+                write!(f, "FETCH {direction} {position} {name}")?;

Review Comment:
   This could probably be ` write!(f, "{position} {name}")?;`, not sure what 
the pro/con is on that



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to