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

Yuki Morishita commented on CASSANDRA-3708:
-------------------------------------------

I checked out Sylvain's latest branch and overall it looked good to me. New on 
disk format works fine with compaction and streaming, as well as RowMutations 
among nodes.

One thing that doesn't work though is the following:
I created table as in dtest for 3708,

{code:sql}
CREATE TABLE test1 (
  k int,
  c1 int,
  c2 int,
  v1 int,
  v2 int,
  PRIMARY KEY (k, c1, c2)
);
{code}

and insert several rows.
Deleting using following statement works as expected in dtest:

{code:sql}
DELETE FROM test1 WHERE k = 0 AND c1 = 0;
{code}

But following delete statement doesn't work.

{code:sql}
DELETE FROM test1 WHERE k = 0 AND c1 = 0 AND c2 = 0;
{code}

Although specifying which columns to delete does work.

{code:sql}
DELETE v1, v2 FROM test1 WHERE k = 0 AND c1 = 0 AND c2 = 0;
{code}

>From the log, I did't see any DeletionInfo in RowMutation for the first (not 
>working) statement.

{code}
DEBUG [Thrift:4] 2012-05-17 16:27:46,515 StorageProxy.java (line 174) 
Mutations/ConsistencyLevel are [RowMutation(keyspace='Keyspace1', 
key='00000000', modifications=[ColumnFamily(test1 [])])]/ONE
{code}

I think this is just the matter of DeleteStatement. Other than that, LGTM.
                
> Support "composite prefix" tombstones
> -------------------------------------
>
>                 Key: CASSANDRA-3708
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3708
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>             Fix For: 1.2
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to