LucaCappelletti94 opened a new pull request, #2570: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2570
Every `DROP` statement had an empty span. The twelve drop statements now store their `DROP` token and their last token, so `DROP TABLE t CASCADE` spans the whole statement, trailing keyword included. The span baseline loses 675 lines. This is a breaking change. The public helpers `parse_drop_trigger`, `parse_drop_extension` and the three `parse_drop_operator*` functions now take the `DROP` token, and hand-built drop structs need the two new fields, for which `AttachedToken::empty()` works. Part of #1548. -- 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]
