Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21823#discussion_r203978990
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/QueryPlan.scala 
---
    @@ -282,9 +282,9 @@ object QueryPlan extends PredicateHelper {
           case ar: AttributeReference =>
             val ordinal = input.indexOf(ar.exprId)
             if (ordinal == -1) {
    -          ar
    +          ar.withName("")
    --- End diff --
    
    let's leave it. We don't even normalize the exprId here.


---

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

Reply via email to