GitHub user zhangh43 opened a pull request:

    https://github.com/apache/incubator-hawq/pull/175

    HAWQ-239. Reduce the call times of GpPolicy to improve performance on…

    … scan empty table.
    
    in get_block_locations_and_claculte_table_size(), GpPolicy is called twice 
for each relation, we need to reduce it to zero
    
    This pull request also fix some initialization of blocknum and hitratio

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

    $ git pull https://github.com/zhangh43/incubator-hawq hawq239

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

    https://github.com/apache/incubator-hawq/pull/175.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 #175
    
----
commit e66f9ecc63cc0c6f6ec0d7abe133baf3ffba50f6
Author: hubertzhang <hzh...@pivotal.io>
Date:   2015-12-10T03:32:59Z

    HAWQ-239. Reduce the call times of GpPolicy to improve performance on scan 
empty table.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to