Github user liancheng commented on the pull request:
https://github.com/apache/spark/pull/11864#issuecomment-199550418
@gatorsmile You're right. Note that code removed in this PR is already dead
paths since now the predicate can't reference any non-deterministic fields. On
the other hand, it's OK to push down a predicate containing non-deterministic
expressions. For example:
```
df.select('a, 'b).filter('c > rand(42))
```
is equivalent to
```
df.filter('c > rand(42)).select('a, 'b)
```
---
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]