Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/18652
  
    
        Join [t1.a = rand(t2.b), t1.c = rand(t2.d)]
          Sort
              Project [t1.a, t1.c]
                TableScan t1
          Sort
            Project [rand(t2.b) as rand(t2.b), rand(t2.d) as rand(t2.d)]
              TableScan t2
    
    Aren't `rand(t2.b)` and `rand(t2.d)` already evaluated in `Project`? Why 
`Sort` will change the evaluation order?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to