guan404ming commented on code in PR #2202:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2202#discussion_r2781671078
##########
src/ast/mod.rs:
##########
@@ -4676,6 +4676,19 @@ pub enum Statement {
/// Additional `WITH` options for RAISERROR.
options: Vec<RaisErrorOption>,
},
+ /// Throw (MSSQL)
+ /// ```sql
+ /// THROW [ error_number, message, state ]
+ /// ```
+ /// See
<https://learn.microsoft.com/en-us/sql/t-sql/language-elements/throw-transact-sql>
+ Throw {
+ /// Error number expression.
+ error_number: Option<Box<Expr>>,
+ /// Error message expression.
+ message: Option<Box<Expr>>,
+ /// State expression.
+ state: Option<Box<Expr>>,
+ },
Review Comment:
Thanks for your information. I just update with wrapped named struct.
--
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]