icefery opened a new pull request, #3082: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/3082
Dialects: PostgreSQL, Generic `ALTER TABLE t SET ACCESS METHOD heap;` and `ALTER MATERIALIZED VIEW v SET ACCESS METHOD DEFAULT;` fail to parse. Both now preserve the access method in the AST. Bare `DEFAULT` resets the method; quoted `"default"` is an identifier. Ordinary `ALTER VIEW` still rejects the clause. [PostgreSQL grammar for names and `DEFAULT`](https://github.com/postgres/postgres/blob/REL_18_STABLE/src/backend/parser/gram.y#L3118-L3126) Twelve 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 table and materialized-view 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]
