You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "David Milicevic (Jira)" <ji...@apache.org> on 2024/05/20 12:53:00 UTC

[jira] [Created] (SPARK-48345) Checks for variable declarations

David Milicevic created SPARK-48345:
---------------------------------------

             Summary: Checks for variable declarations
                 Key: SPARK-48345
                 URL: https://issues.apache.org/jira/browse/SPARK-48345
             Project: Spark
          Issue Type: Sub-task
          Components: Spark Core
    Affects Versions: 4.0.0
            Reporter: David Milicevic


Add checks to parser (visitBatchBody() in AstBuilder) for variable declarations, based on a passed-in flag:
 * Variable can be declared only at the beginning of the compound.
 * Support for exception when wrong variable declaration is encountered.

 

For more details, design doc can be found in parent Jira item.

 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org