agis opened a new issue, #1859: URL: https://github.com/apache/datafusion-sqlparser-rs/issues/1859
Given the following input: ```sql ALTER TABLE logs DROP COLUMN details ``` the following code outputs the statement as: ```sql ALTER TABLE logs DROP details ``` the code: ```rust let stmts = Parser::parse_sql(&PostgreSqlDialect {}, sql).unwrap(); // grab the first statement // let stmt = ... stmt.to_string() ``` I understand that the two are functionally equivalent, however according to the README I would expect that the `COLUMN` keyword is preserved: > This crate allows users to recover the original SQL text (with comments removed, normalized whitespace and keyword capitalization), which is useful for tools that analyze and manipulate SQL. Would you classify this as a bug? -- 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.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