[
https://issues.apache.org/jira/browse/SPARK-50449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dusan Tisma updated SPARK-50449:
--------------------------------
Description:
SQL Scripting grammar currently allows for loops, IF and CASE to have empty
bodies. Example:
{{WHILE 1 = 1 DO END WHILE;}}
This is not intended and should be changes so that empty bodies aren't allowed
was:
SQL Scripting grammar currently allows for loops, IF and CASE to have empty
bodies. Example:
{{WHILE 1 = 1 DO END WHILE;}}
{{}}
This is not intended and should be changes so that empty bodies aren't allowed
> [M1] Fix grammar allowing empty bodies for loops, IF and CASE
> -------------------------------------------------------------
>
> Key: SPARK-50449
> URL: https://issues.apache.org/jira/browse/SPARK-50449
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: Dusan Tisma
> Priority: Major
>
> SQL Scripting grammar currently allows for loops, IF and CASE to have empty
> bodies. Example:
> {{WHILE 1 = 1 DO END WHILE;}}
> This is not intended and should be changes so that empty bodies aren't allowed
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]