GitHub user yucai opened a pull request:

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

    [SPARK-24832][SQL] Improve inputMetrics's bytesRead update for ColumnarBatch

    ## What changes were proposed in this pull request?
    
    Currently, ColumnarBatch's bytesRead need to be updated every 4096 * 1000 
rows, which makes the metrics out of date. This PR makes it update for each 
batch.
    
    ## How was this patch tested?
    
    Existing UTs.


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

    $ git pull https://github.com/yucai/spark SPARK-24832

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

    https://github.com/apache/spark/pull/21791.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 #21791
    
----
commit b9320c8d8a3735d4569709b51a0d66a7121e23cb
Author: yucai <yyu1@...>
Date:   2018-07-17T10:20:18Z

    [SPARK-24832][SQL] Improve inputMetrics's bytesRead update for ColumnarBatch

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to