GitHub user srlindemann opened a pull request:

    https://github.com/apache/spark/pull/7227

    fix percentPruned log message

    When pruning partitions for a query plan, a message is logged indicating 
what how many partitions were selected based on predicate criteria, and what 
percent were pruned. 
    
    The current release erroneously uses `1 - total/selected` to compute this 
quantity, leading to nonsense messages like "pruned -1000% partitions". The fix 
is simple and obvious. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/srlindemann/spark master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/7227.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #7227
    
----
commit c788061f33393e72543f4d6895b070aa0f075ef4
Author: Steve Lindemann <[email protected]>
Date:   2015-07-05T14:36:58Z

    fix percentPruned log message

----


---
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]

Reply via email to