[ 
https://issues.apache.org/jira/browse/SPARK-48345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Milicevic resolved SPARK-48345.
-------------------------------------
    Resolution: Implemented

Resolved with: https://github.com/apache/spark/pull/47404.

> [M0] 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
>            Priority: Major
>
> Add checks to parser (visitCompoundBodyImpl() in AstBuilder) for variable 
> declarations, based on a passed-in flag:
>  * Variable can be declared only at the beginning of the compound.
>  * Variable cannot be declared in a compound at all - throw exception.
>  
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to