Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-29900 make relation lookup behavior consistent within Spark SQL
  3. SPARK-30283

V2 Command logical plan should use UnresolvedV2Relation for a table

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0
    • None
    • SQL
    • None

    Description

      For the following v2 commands, multi-part names are directly passed to the command without looking up temp views, thus they are always resolved to tables:

      • DROP TABLE
      • REFRESH TABLE
      • RENAME TABLE
      • REPLACE TABLE

      They should be updated to haveĀ UnresolvedV2Relation such that temp views are looked up first in Analyzer.ResolveTables.

      Attachments

        Activity

          People

            Unassigned Unassigned
            imback82 Terry Kim
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: