You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dusan Tisma (Jira)" <ji...@apache.org> on 2024/12/04 21:28:00 UTC
[jira] [Updated] (SPARK-50491) [M1] Fix bug where empty BEGIN END blocks throw error in loops
[ https://issues.apache.org/jira/browse/SPARK-50491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dusan Tisma updated SPARK-50491:
--------------------------------
Description:
There is a bug in SQL scripting, where compound statements throw an error if their body is consisted solely of empty BEGIN END blocks. Examples:
{{WHILE 1 = 1 DO}}
{{ BEGIN}}
{{ END;}}
{{END WHILE;}}
was:
There is a bug in SQL scripting, where loops, IF and CASE throw error if their body is consisted solely of empty BEGIN END blocks. Examples:
{{WHILE 1 = 1 DO}}
{{ BEGIN}}
{{ END;}}
{{END WHILE;}}
> [M1] Fix bug where empty BEGIN END blocks throw error in loops
> ---------------------------------------------------------------
>
> Key: SPARK-50491
> URL: https://issues.apache.org/jira/browse/SPARK-50491
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core
> Affects Versions: 4.0.0
> Reporter: Dusan Tisma
> Priority: Major
>
> There is a bug in SQL scripting, where compound statements throw an error if their body is consisted solely of empty BEGIN END blocks. Examples:
> {{WHILE 1 = 1 DO}}
> {{ BEGIN}}
> {{ END;}}
> {{END WHILE;}}
--
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