You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by liancheng <gi...@git.apache.org> on 2016/03/18 12:38:15 UTC

[GitHub] spark pull request: [SPARK-14004][SQL] NamedExpressions should hav...

Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/11822#issuecomment-198318534
  
    Personally, I had once been quite confused by the fact that `NamedExpression.qualifiers` is a `Seq[String]` and thought that attributes can be qualified with multiple qualifiers like `db.table.column`. That's why current version of `AttributeReference.sql` joins all qualifiers using `.` rather than picking the first one.
    
    I believe it's safe and good to enforce the at-most-one-qualifier constraint at type level unless there do exist valid cases where using multiple qualifiers makes sense but haven't been implemented in Spark SQL yet.
    
    cc @marmbrus @rxin @yhuai


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org