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: [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]