putao520 opened a new issue, #2861:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2861

   **Dialect**: PostgreSQL
   
   **Statement**
   
   ```sql
   CREATE DOMAIN d int4;
   ```
   
   **Current behavior**: `AS` is required (`expect_keyword_is(AS)`), while PG 
makes it optional.
   
   **Expected AST**: The `AS` keyword optional in the `CREATE DOMAIN` 
production.
   
   **0.63.0 anchor**: `mod.rs:7150`
   
   **pg_regress coverage**: `create_domain (regression)`
   
   Related: closed issue #1829 asked for `CREATE DOMAIN` generally; this is the 
remaining `AS`-optional form.
   


-- 
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