You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "iffyio (via GitHub)" <gi...@apache.org> on 2025/02/08 12:21:01 UTC

[PR] Add support for `EXECUTE IMMEDIATE` [datafusion-sqlparser-rs]

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

   Adds support for the `EXECUTE IMMEDIATE` statement
   
   ```sql
   EXECUTE IMMEDIATE 'SELECT 1' USING 2 AS foo;
   ```
   
   [BigQuery](https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#execute_immediate) [Snowflake](https://docs.snowflake.com/en/sql-reference/sql/execute-immediate)


-- 
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-unsubscribe@datafusion.apache.org

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


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


Re: [PR] Add support for `EXECUTE IMMEDIATE` [datafusion-sqlparser-rs]

Posted by "iffyio (via GitHub)" <gi...@apache.org>.
iffyio merged PR #1717:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1717


-- 
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-unsubscribe@datafusion.apache.org

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


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


Re: [PR] Add support for `EXECUTE IMMEDIATE` [datafusion-sqlparser-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on code in PR #1717:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1717#discussion_r1960479457


##########
src/dialect/bigquery.rs:
##########
@@ -110,6 +110,11 @@ impl Dialect for BigQueryDialect {
         true
     }
 
+    /// See <https://cloud.google.com/bigquery/docs/reference/standard-sql/procedural-language#execute_immediate>

Review Comment:
   i like how we are settling on using methods in Dialect to support the various options



-- 
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-unsubscribe@datafusion.apache.org

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


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