You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2021/08/25 14:03:00 UTC

[jira] [Created] (SPARK-36586) Migrate all ParsedStatement to the new v2 command framework

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org