Wenchen Fan created SPARK-36586:
-----------------------------------

             Summary: Migrate all ParsedStatement to the new v2 command 
framework
                 Key: SPARK-36586
                 URL: https://issues.apache.org/jira/browse/SPARK-36586
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.3.0
            Reporter: Wenchen Fan


The ParsedStatement needs to be pattern matched in two analyzer rules and 
results to a lot of duplicated code.

The new v2 command framework defines a few basic logical plan nodes such as 
UnresolvedTable, and we only need to resolve these basic nodes, and pattern 
match v2 commands only once in the rule `ResolveSessionCatalog` for v1 command 
fallback.

We should migrate all the ParsedStatement to v2 command framework.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to