[ https://issues.apache.org/jira/browse/PHOENIX-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061103#comment-14061103 ]
ASF GitHub Bot commented on PHOENIX-933: ---------------------------------------- Github user chrajeshbabu commented on a diff in the pull request: https://github.com/apache/phoenix/pull/3#discussion_r14898689 --- Diff: phoenix-core/src/main/java/org/apache/phoenix/iterate/ParallelIterators.java --- @@ -238,7 +240,12 @@ private void doColumnProjectionOptimization(StatementContext context, Scan scan, minMaxRange = SaltingUtil.addSaltByte(split.getLowerRange(), minMaxRange); split = split.intersect(minMaxRange); } - } + } else if (localIndex) { --- End diff -- one main difference is there between the two methods James. in addSaltByte if keyrange upper or lower bound is unbound we don't set salting byte. in case of local index if both start or end keys are unbound then only we don't prefix the bytes. So not able to commonize both. > Local index support to Phoenix > ------------------------------ > > Key: PHOENIX-933 > URL: https://issues.apache.org/jira/browse/PHOENIX-933 > Project: Phoenix > Issue Type: New Feature > Reporter: rajeshbabu > > Hindex(https://github.com/Huawei-Hadoop/hindex) provides local indexing > support to HBase. It stores region level index in a separate table, and > co-locates the user and index table regions with a custom load balancer. > See http://goo.gl/phkhwC and http://goo.gl/EswlxC for more information. > This JIRA addresses the local indexing solution integration to phoenix. -- This message was sent by Atlassian JIRA (v6.2#6252)