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

Wenchen Fan resolved SPARK-52129.
---------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

Issue resolved by pull request 50893
[https://github.com/apache/spark/pull/50893]

> Improve ParserUtils for SQL Scripting
> -------------------------------------
>
>                 Key: SPARK-52129
>                 URL: https://issues.apache.org/jira/browse/SPARK-52129
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 4.0.0, 4.1.0
>            Reporter: David Milicevic
>            Assignee: David Milicevic
>            Priority: Major
>             Fix For: 4.0.0
>
>
> There are a few improvements required for ParserUtils to support currently 
> existing and upcoming features:
>  * `enterLabeledScope` doesn't properly use case-insensitive labels and 
> causes issues sometimes.
>  * `SqlScriptingParsingContext` currently is too generic name. It should be 
> renamed to something like `CompoundBodyParsingContext` to free up the name 
> for the next bullet.
>  * `SqlScriptingParsingContext` should be introduced. It can be extended in 
> the future with other applications, but for now it should include:
>  ** Label parsing context - already existing.
>  ** Condition parsing context:
>  *** Used to map conditions to SQL states.
>  *** Track duplicate conditions.



--
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