[
https://issues.apache.org/jira/browse/PHOENIX-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
rajeshbabu updated PHOENIX-935:
-------------------------------
Attachment: PHOENIX-935.patch
For local indexes we may not make use of the shared index table for indexes on
view because the local index table row key space will be different from it.
Here is the patch to create shared local index table(prefix with _LOCAL_IDX -
suggest better name if it's not good) with the same split keys as user table.
Created separate custom split policy for the local index table to avoid
external splits.
Implemented some master hooks to push the necessary information to balancer
during index table creation.
Please review. I will add some tests for it.
> create local index table with the same split keys of user table
> ---------------------------------------------------------------
>
> Key: PHOENIX-935
> URL: https://issues.apache.org/jira/browse/PHOENIX-935
> Project: Phoenix
> Issue Type: Sub-task
> Reporter: rajeshbabu
> Assignee: rajeshbabu
> Attachments: PHOENIX-935.patch
>
>
> For co-locating user table regions and index table regions, the regions key
> ranges should be same. So when user specify to create local index, internally
> we can create the index table with the same split keys of user table.
--
This message was sent by Atlassian JIRA
(v6.2#6252)