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

   Dialects: PostgreSQL, Generic
   
   `ALTER MATERIALIZED VIEW v ALTER COLUMN c SET (n_distinct = 42)` currently 
fails. This adds column-level `SET (...)`, `RESET (...)`, and `SET STORAGE` by 
sharing the parser with `ALTER TABLE`. `SET STORAGE DEFAULT` works for both; 
`CREATE TYPE` and ordinary `ALTER VIEW` keep their existing syntax.
   
   [PostgreSQL ALTER MATERIALIZED VIEW 
syntax](https://www.postgresql.org/docs/18/sql-altermaterializedview.html) ยท 
[Shared PostgreSQL 
grammar](https://github.com/postgres/postgres/blob/REL_18_STABLE/src/backend/parser/gram.y#L2492-L2520)
   
   15 focused tests passed with all features. Rustfmt and Clippy on the library 
and affected test targets passed. The round-trip fuzzer completed 512 
instrumented runs.
   
   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