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:12:00 UTC

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

    [ https://issues.apache.org/jira/browse/SPARK-36586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404488#comment-17404488 ] 

Wenchen Fan commented on SPARK-36586:
-------------------------------------

[~imback82] do you want do drive this?

> 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
>            Priority: Major
>
> 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