[ 
https://issues.apache.org/jira/browse/PHOENIX-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14059948#comment-14059948
 ] 

ASF GitHub Bot commented on PHOENIX-933:
----------------------------------------

Github user JamesRTaylor commented on the pull request:

    https://github.com/apache/phoenix/pull/1#issuecomment-48825943
  
    Related to the revert of the ScanRanges change, you'll need to make this 
change to prevent the SkipRangeParallelIteratorRegionSplitter from being used 
(as you always need to scan all regions for a local index). Cleanest might be 
to just implement a simple ParallelIteratorRegionSplitter for use when a local 
index is used that just returns all regions:
    
        public class ParallelIteratorRegionSplitterFactory {
    
            public static ParallelIteratorRegionSplitter 
getSplitter(StatementContext context, TableRef table, HintNode hintNode) throws 
SQLException {
                if (!isLocalIndex && 
context.getScanRanges().useSkipScanFilter()) {
                    return 
SkipRangeParallelIteratorRegionSplitter.getInstance(context, table, hintNode);
                }
                return 
DefaultParallelIteratorRegionSplitter.getInstance(context, table, hintNode);
            }
        }


> 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)

Reply via email to