icefery opened a new pull request, #3081:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/3081

   Dialects: PostgreSQL, Generic
   
   `DROP STATISTICS IF EXISTS app.stats, public.other RESTRICT;` fails because 
`DROP` does not recognize statistics objects. This adds 
`ObjectType::Statistics` to the existing `DROP` statement. It preserves the 
names and drop behavior without accepting `TEMPORARY`, `PURGE`, or `ON`.
   
   [PostgreSQL 
syntax](https://www.postgresql.org/docs/18/sql-dropstatistics.html)
   
   Seven focused tests passed with all features. Rustfmt and Clippy on the 
library and Common/PostgreSQL test targets passed. The round-trip fuzzer 
completed 256 runs seeded with both single- and multiple-object statements.
   
   AI assistance was used for the implementation, tests, and draft.
   


-- 
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