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

Remove the alias parameter in UnresolvedRelation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • SQL
    • None

    Description

      UnresolvedRelation has a second argument named "alias", for assigning the relation an alias. I think we can actually remove it and replace its use with a SubqueryAlias.

      This would actually simplify some analyzer code to only match on SubqueryAlias. For example, the broadcast hint pull request can have one fewer case https://github.com/apache/spark/pull/16925/files.

      Attachments

        Activity

          People

            windpiger Song Jun
            rxin Reynold Xin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: