Github user viirya commented on the issue:
https://github.com/apache/spark/pull/18652
When we join two tables, given there are equi-join keys, and they are
non-deterministic, for example `t1.a = rand(t2.b)` and `t1.c = rand(t2.d)`. We
pull out them to downstream project:
Join [t1.a = rand(t2.b), t1.c = rand(t2.d)]
Project [t1.a, t1.c]
TableScan t1
Project [rand(t2.b) as rand(t2.b), rand(t2.d) as rand(t2.d)]
TableScan t2
`rand(t2.b)` and `rand(t2.d)` are evaluated in projection. Why Join will
change its 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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]