You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2018/02/09 23:34:00 UTC

[jira] [Created] (PHOENIX-4594) Perform binary search on guideposts during query compilation

James Taylor created PHOENIX-4594:
-------------------------------------

             Summary: Perform binary search on guideposts during query compilation
                 Key: PHOENIX-4594
                 URL: https://issues.apache.org/jira/browse/PHOENIX-4594
             Project: Phoenix
          Issue Type: Improvement
            Reporter: James Taylor


If there are many guideposts, performance will suffer during query compilation because we do a linear search of the guideposts to find the intersection with the scan ranges. Instead, in BaseResultIterators.getParallelScans() we should populate an array of guideposts and perform a binary search. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)