You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2017/02/14 19:06:41 UTC

[jira] [Created] (SPARK-19598) Remove the alias parameter in UnresolvedRelation

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org