Github user eatoncys commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21823#discussion_r203972375
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/QueryPlan.scala 
---
    @@ -237,7 +239,7 @@ abstract class QueryPlan[PlanType <: 
QueryPlan[PlanType]] extends TreeNode[PlanT
             // Top level `AttributeReference` may also be used for output like 
`Alias`, we should
             // normalize the epxrId too.
             id += 1
    -        ar.withExprId(ExprId(id)).canonicalized
    +        
ar.withExprId(ExprId(id)).withName(ar.name.toLowerCase(Locale.ROOT)).canonicalized
    --- End diff --
    
    I think it is Ok, and it erase the attribute name in spark version 2.0.2.


---

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

Reply via email to