David Milicevic created SPARK-50721:
---------------------------------------

             Summary: [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


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