Github user AlekseiS commented on the issue:
https://github.com/apache/spark/pull/13893
@liancheng I think partition predicates are a bit different. If you
explicitly specify a partition predicate, like "date=2016-06-27", do you really
expect other partitions being scanned regardless of whether you use
non-deterministic function or not? Most likely, no, so if partition filter is
specified and it's deterministic it's expected to be always used.
For this reason, I think that it's always correct to push filters which
only reference partition columns to the scan. @jiangxb1987 do you think you
could modify the patch to do it?
---
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]