sabir-akhadov-localstack commented on code in PR #2776:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2776#discussion_r4425375690
##########
src/parser/mod.rs:
##########
@@ -12154,6 +12158,11 @@ impl<'a> Parser<'a> {
old_column_name,
new_column_name: self.parse_identifier()?,
}
+ } else if materialized {
Review Comment:
PG 16 does accept `ALTER MATERIALIZED VIEW m ALTER COLUMN c SET STATISTICS
100` / `SET (n_distinct = 10)` / `SET STORAGE PLAIN`; only SET/DROP DEFAULT is
refused. This branch will have to be undone once `AlterColumn` grows those
variants, so it may be simpler to drop it now and let `AS`/default-related
forms fall through as they do for plain views.
--
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]