GitHub user dongjoon-hyun opened a pull request:

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

    [SPARK-16165][SQL] Fix the update logic for 
InMemoryTableScanExec.readBatches

    ## What changes were proposed in this pull request?
    
    Currently, `readBatches` accumulator of `InMemoryTableScanExec` is updated 
only when `spark.sql.inMemoryColumnarStorage.partitionPruning` is true. 
Although this metric is used for only testing purpose, we had better have 
correct metric without considering SQL options.
    
    ## How was this patch tested?
    
    Pass the Jenkins tests (including a new testcase).

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

    $ git pull https://github.com/dongjoon-hyun/spark SPARK-16165

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

    https://github.com/apache/spark/pull/13870.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 #13870
    
----
commit b1a80ddf3065c699089ed92102015014bdad5e29
Author: Dongjoon Hyun <[email protected]>
Date:   2016-06-23T06:36:19Z

    [SPARK-16165][SQL] Fix the update logic for 
InMemoryTableScanExec.readBatches accumulator

----


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