Reynold Xin created SPARK-19598:
-----------------------------------

             Summary: Remove the alias parameter in UnresolvedRelation
                 Key: SPARK-19598
                 URL: https://issues.apache.org/jira/browse/SPARK-19598
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.2.0
            Reporter: Reynold Xin


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to