guan404ming opened a new pull request, #2212:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2212

   ## Why
   
   MSSQL supports TRAN as a shorthand for TRANSACTION in BEGIN/COMMIT/ROLLBACK 
statements, but the
   parser did not recognize it.
   
   ## How
   
   - Add TRAN variant to BeginTransactionKind enum and the keywords list
   - Accept TRAN alongside TRANSACTION and WORK in BEGIN, COMMIT, and ROLLBACK 
parsing
   - Add tests for BEGIN TRAN, COMMIT TRAN, and ROLLBACK TRAN


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