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

Lars Hofhansl commented on PHOENIX-3262:
----------------------------------------

[~jamestaylor], where is a local index actually dropped? I see we do drop the 
column families in ConnectionQueryServicesImpl.encureLocalIndexTableDropped, 
but that drops all indexes for a table. I cannot find the code where just a 
single index in dropped. Perhaps we're already dropping the column family in 
that case? (I find no other reference to HBaseAdmin.deleteColumn)

> When dropping a local index, delete the column family instead of individual 
> rows.
> ---------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3262
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3262
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>             Fix For: 4.9.0
>
>
> Currently when Phoenix drops a local index it places a delete marker for 
> every single row, instead we can just drop the L#<x> column family.
> {{HBaseAdmin.deleteColumn}} in 0.98. And {{HBaseAdmin.deleteColumnFamily}} in 
> 1.0+.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to