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

Keith Turner commented on ACCUMULO-3905:
----------------------------------------

There is a 
[comment|https://issues.apache.org/jira/browse/ACCUMULO-1801?focusedCommentId=13970204&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13970204]
 on ACCUMULO-1801 that offers a workaround.

I think the deeper problem is that an iterator only has control over which 
column families to fetch.  The RowDeletingITerator takes advantage of this, for 
example on [line 
148|https://github.com/apache/accumulo/blob/1.6.2/core/src/main/java/org/apache/accumulo/core/iterators/user/RowDeletingIterator.java#L148]
 it adds the empty column family.  However with column qualifier filtering, 
thats done at a lower level and iterators have no control over it.  See 
[Tablet.java line 
2005|https://github.com/apache/accumulo/blob/1.6.2/server/tserver/src/main/java/org/apache/accumulo/tserver/Tablet.java#L2005].
  I thought there was an issue about the column qualifier filtering behavior, 
but I can not find it.

> RowDeletingIterator does not work if columns are specified
> ----------------------------------------------------------
>
>                 Key: ACCUMULO-3905
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3905
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>            Reporter: Eric Newton
>
> (from the mailing list):
> {quote}
> It seem that there might be a bug in RowDeletingIterator:
> after using RowDeletingIterator I get expected results when querying by rowId 
> and CF, e.g. 
> scan \-b myrowid  \-c field/abc \-t table <---- doesn't return deleted rows 
> as expected
> however if I add column qualified to the query, I see deleted items.
> scan \-b myrowid  \-c field/abc:sample_qualifier \-t table <-- returns 
> deleted rows
> After major compaction the problem goes away. 
> {quote}



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

Reply via email to