GitHub user davies opened a pull request:

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

    [SPARK-14669] [SQL] Fix some SQL metrics in codegen and added more

    ## What changes were proposed in this pull request?
    
    1. Fix the "spill size" of TungstenAggregate and Sort
    2. Rename "data size" to "peak memory" to match the actual meaning (also 
consistent with task metrics)
    3. Added "data size" for ShuffleExchange and BroadcastExchange
    4. Added some timing for Sort, Aggregate and BroadcastExchange (this 
requires another patch to work)
    
    
    ## How was this patch tested?
    
    Existing tests.
    
![metrics](https://cloud.githubusercontent.com/assets/40902/14573908/21ad2f00-030d-11e6-9e2c-c544f30039ea.png)


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

    $ git pull https://github.com/davies/spark fix_metrics

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

    https://github.com/apache/spark/pull/12425.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 #12425
    
----
commit a9b29e2c36ea39653896ffc0f1d6727640ccf9d0
Author: Davies Liu <[email protected]>
Date:   2016-04-15T20:13:32Z

    fix sql metrics

----


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