bombsimon opened a new pull request, #1884:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1884
- Exception handling can handle multiple `WHEN` arms
- Exception can re-raise with `RAISE` keyword
- Snowflake can now also parse `BEGIN ... EXCEPTION ... END`
Example:
```sql
BEGIN
SELECT 1;
EXCEPTION
WHEN EXCEPTION_1 THEN
SELECT 1;
WHEN EXCEPTION_2 OR EXCEPTION_3 THEN
SELECT 2;
SELECT 3;
WHEN OTHER THEN
SELECT 4;
RAISE;
END;
```
--
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]