Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-36586

Migrate all ParsedStatement to the new v2 command framework

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.0
    • None
    • SQL
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cloud_fan Wenchen Fan
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: