Serge Rielau created SPARK-53444:
------------------------------------
Summary: Rework EXECUTE IMMEDIATE
Key: SPARK-53444
URL: https://issues.apache.org/jira/browse/SPARK-53444
Project: Spark
Issue Type: Improvement
Components: Spark Core
Affects Versions: 4.1.0
Reporter: Serge Rielau
EXECUTE IMMEDIATE right now works very similar to view expansion where the SQL
Statement to execute in macro expanded into the EXECUTE IMMEDIATE.
The rework properly separates teh driver EXECUTE IMMEDIATE from the body by
calling the session.sql() api recursively.
Thsi allows for many future improvements, such as improved parameter marker
handling, SQL Scripting in EXECUTE IMMEDIATE etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]