iffyio opened a new pull request, #1741: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1741
Add support for scripting statements ```sql CASE product_id WHEN 1 THEN SELECT 1; WHEN 2 THEN SELECT 2; ELSE SELECT 3; END CASE; ``` ```sql IF EXISTS(SELECT 1) THEN SELECT 1; ELSEIF EXISTS(SELECT 2) THEN SELECT 2; ELSE SELECT 3; END IF; ``` [BigQuery CASE](https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#case) [BigQuery IF](https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#if) [Snowflake CASE](https://docs.snowflake.com/en/sql-reference/snowflake-scripting/case) [Snowflake IF](https://docs.snowflake.com/en/sql-reference/snowflake-scripting/if) -- 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