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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to