drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppadma <...@git.apache.org>
Subject [GitHub] drill pull request #802: DRILL-5394: Optimize query planning for MapR-DB tab...
Date Wed, 29 Mar 2017 03:15:28 GMT
GitHub user ppadma opened a pull request:

    https://github.com/apache/drill/pull/802

    DRILL-5394: Optimize query planning for MapR-DB tables by caching row…

    … counts
    
    During the planning phase, we fetch MapR DB table row count multiple times. This is an
expensive operation and fetching it multiple times increases planning time considerably. 
Implemented per query cache. Fetch table rowCount only once, cache it in hbaseScanSpec and
reuse it. Copy the rowCount from old to new hbaseScanSpec when a new groupScan is created
i.e. when the filter is pushed down into scan.

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

    $ git pull https://github.com/ppadma/drill DRILL-5394

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

    https://github.com/apache/drill/pull/802.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 #802
    
----
commit 8ff826c58f074ba58d1ee1b888b5da41eeb2d894
Author: Padma Penumarthy <ppenumar97@yahoo.com>
Date:   2017-03-16T18:40:13Z

    DRILL-5394: Optimize query planning for MapR-DB tables by caching row counts

----


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

Mime
View raw message