Serge Rielau created SPARK-60621:
------------------------------------

             Summary: Add ANALYZE mode to parse_sql
                 Key: SPARK-60621
                 URL: https://issues.apache.org/jira/browse/SPARK-60621
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 5.0.0
            Reporter: Serge Rielau


Scope:

parse_sql(sqlStmt[, mode[, current_catalog[, current_schema[, current_path]]]])
Named invocation
PARSE unchanged aside from defaulted pretty-SQL children
ANALYZE: session required, CommandExecutionMode.SKIP, analyze_success, analysis 
errors as JSON (batch continues), catalog/schema/path overrides restored after 
the call
select_list[].type as DESCRIBE TABLE EXTENDED AS JSON columns[].type
Canonical names: persistent catalog identity, system.session for local temp 
view/function, system.builtin for builtins, global-temp namespace unchanged
Out of this ticket: overlay arrays, DECLARE/DDL carry-forward, script 
statements, cursors



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