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

   **Dialect**: PostgreSQL
   
   **Statement**
   
   ```sql
   REINDEX TABLE pg_class;
   ```
   
   **Current behavior**: There is no `REINDEX` production (`mod.rs:20938` only 
carries `VACUUM`'s `REINDEX` flag), so the statement is a syntax error.
   
   **Expected AST**: `Statement::Reindex` with the PG object forms 
(`TABLE`/`INDEX`/`SCHEMA`/`DATABASE`/`SYSTEM`) and `CONCURRENTLY`.
   
   **0.63.0 anchor**: `mod.rs:20938`
   
   **pg_regress coverage**: `reindex (regression)`
   


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