GitHub user maryannxue opened a pull request:

    https://github.com/apache/phoenix/pull/281

    PHOENIX-4288 Indexes not used when ordering by primary key

    1. Add class Cost.
    2. Add method getCost() in QueryPlan.
    3. Let QueryOptimizer choose the best plan based on Cost; meanwhile if 
stats are not available the QueryOptimizer will keep the original behavior.

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

    $ git pull https://github.com/maryannxue/phoenix phoenix-4388

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

    https://github.com/apache/phoenix/pull/281.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 #281
    
----
commit f75c1b095683c153f8749107c5505304309dcb36
Author: maryannxue <maryann....@gmail.com>
Date:   2017-11-07T21:40:37Z

    PHOENIX-4288 Indexes not used when ordering by primary key

----


---

Reply via email to