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

Anoop Sam John commented on HBASE-6942:
---------------------------------------

I think my doubts regarding FirstKeyOnlyFilter come correct. [Checked with 
change in code]
Suppose in table we have one CF and in that having 3 qualifiers
cf1:c1  cf1:c2  cf1:c3
Now I have to delete all the rows where cf1:c3=?
I will have a SCVF with this condition
Now suppose If I add FKOF also along with this in a FL
For any row the 1st KV which is coming to the filter will be of cf:c1's
The SCVF can not filter it out. Also the FKOF will pass it. 
But for the 2nd KV the FKOF will make the scan to go to the next row.
So the actual filter which was having my condition will never get a chance to 
do the validation and do filtering...

So I think generally the FKOF can not be used with this kind of condition 
filters..

Pls correct me if any thing I missed or wrongly said..

                
> Endpoint implementation for bulk delete rows
> --------------------------------------------
>
>                 Key: HBASE-6942
>                 URL: https://issues.apache.org/jira/browse/HBASE-6942
>             Project: HBase
>          Issue Type: Improvement
>          Components: Coprocessors, Performance
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 0.94.3, 0.96.0
>
>         Attachments: HBASE-6942.patch, HBASE-6942_V2.patch, 
> HBASE-6942_V3.patch
>
>
> We can provide an end point implementation for doing a bulk deletion of 
> rows(based on a scan) at the server side. This can reduce the time taken for 
> such an operation as right now it need to do a scan to client and issue 
> delete(s) using rowkeys.
> Query like  delete from table1 where...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to