Dusan Tisma created SPARK-50449:
-----------------------------------

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


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]

Reply via email to