ramnes opened a new pull request, #2336:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2336
This PR adds a `Statement::CreateFileFormat` variant and parses the full
grammar:
`CREATE [ OR REPLACE ] [ { TEMP | TEMPORARY | VOLATILE } ] FILE FORMAT [ IF
NOT EXISTS ] <name> [formatTypeOptions ] [ COMMENT = '<string>' ]`
Format options are stored as `KeyValueOptions`, with `COMMENT` split out
into its own `Option<String>` field to match `CREATE STAGE`. `IDENTIFIER(?)`
style names are handled via `parse_object_name(true)`.
Closes #2070
--
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]