David Milicevic created SPARK-52221:
---------------------------------------

             Summary: Refactor SQL Scripting local variable manager into 
context manager
                 Key: SPARK-52221
                 URL: https://issues.apache.org/jira/browse/SPARK-52221
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 4.0.0, 4.1.0
            Reporter: David Milicevic


Currrently, we have a ThreadLocal variable for SQL Scripting local variable 
manager in order to be able to access local variables throughout analysis. That 
is fine for now, but in future, we will need more generic info from the 
scripting context. For example, once the Stored Procedures are introduced we'll 
need more context information to be available during analysis.

For this purpose, the code should be refactored as soon as possible, to make it 
simpler for future changes.



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