[ 
https://issues.apache.org/jira/browse/SPARK-50721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039859#comment-18039859
 ] 

David Milicevic commented on SPARK-50721:
-----------------------------------------

Resolved by [https://github.com/apache/spark/pull/51705] and 
[https://github.com/apache/spark/pull/52086.] There were separate work items 
for these.

> [M1] Support for multiple variable declarations in the same statement
> ---------------------------------------------------------------------
>
>                 Key: SPARK-50721
>                 URL: https://issues.apache.org/jira/browse/SPARK-50721
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core
>    Affects Versions: 4.0.0
>            Reporter: David Milicevic
>            Priority: Major
>
> For session variables, this is not supported: 
> [https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-declare-variable.html.]
> Ref spec for Scripting states that we should support statements like:
> {code:java}
> DECLARE a, b INT DEFAULT 7;{code}
>  
> Priority is to do this for SQL Scripts, but probably it isn't a lot of 
> difference to support it with session vars as well.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to