Serge Rielau created SPARK-60624:
------------------------------------

             Summary:  Resolve SQL script cursors in parse_sql ANALYZE
                 Key: SPARK-60624
                 URL: https://issues.apache.org/jira/browse/SPARK-60624
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 5.0.0
         Environment: Scope:

SuppliedLocalScopeRegistry cursor namespace (variables and cursors stay 
separate)
DECLARE CURSOR recorded on the block; query analyzed at DECLARE
OPEN / FETCH / CLOSE by name or label.cursor; FETCH INTO uses in-scope locals
CURSOR_NOT_FOUND vs CURSOR_OUTSIDE_SCRIPT when the overlay is absent
Still requires spark.sql.scripting.cursorEnabled; single-pass analyzer remains 
unsupported
            Reporter: Serge Rielau






--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to