LucaCappelletti94 opened a new pull request, #2885: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2885
`ALTER TYPE t SET (typmod_in = f1)` fails with `Expected: OWNER TO, RENAME TO, SET SCHEMA, RENAME ATTRIBUTE, ADD ATTRIBUTE, DROP ATTRIBUTE, ALTER ATTRIBUTE, ADD VALUE, or RENAME VALUE after ALTER TYPE, found: SET`. `AlterTypeOperation::SetOptions` holds `SqlOption::KeyValue` pairs, as `ALTER VIEW ... SET` does. Values are expressions, so function names, `NONE`, numbers and strings all print back as written. This is finally the last PR of the `ALTER TYPE` grammar, at least I hope so. -- 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]
