You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jim Newsham (Created) (JIRA)" <ji...@apache.org> on 2011/11/02 22:51:32 UTC

[jira] [Created] (CASSANDRA-3448) support SliceRange in deletion

support SliceRange in deletion
------------------------------

                 Key: CASSANDRA-3448
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3448
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jim Newsham


I'd like to be able to delete a range of columns within a row, for a range of column names.  Currently it seems my only option is to do a range query and then individually delete each column.  For wide rows, this is very slow, even with batch mutation.

The thrift API looks like it supports the call, however it throws the following error message:  "Deletion does not yet
support SliceRange predicates.".  I'm talking specifically about batch_mutate + Mutation(Deletion(SlicePredicate(SliceRange(start, end))).

--
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

        

[jira] [Resolved] (CASSANDRA-3448) support SliceRange in deletion

Posted by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3448.
---------------------------------------

    Resolution: Duplicate
    
> support SliceRange in deletion
> ------------------------------
>
>                 Key: CASSANDRA-3448
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3448
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jim Newsham
>
> I'd like to be able to delete a range of columns within a row, for a range of column names.  Currently it seems my only option is to do a range query and then individually delete each column.  For wide rows, this is very slow, even with batch mutation.
> The thrift API looks like it supports the call, however it throws the following error message:  "Deletion does not yet
> support SliceRange predicates.".  I'm talking specifically about batch_mutate + Mutation(Deletion(SlicePredicate(SliceRange(start, end))).

--
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

        

[jira] [Updated] (CASSANDRA-3448) support SliceRange in deletion

Posted by "Brandon Williams (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-3448:
----------------------------------------

    Comment: was deleted

(was: CASSANDRA-293)
    
> support SliceRange in deletion
> ------------------------------
>
>                 Key: CASSANDRA-3448
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3448
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jim Newsham
>
> I'd like to be able to delete a range of columns within a row, for a range of column names.  Currently it seems my only option is to do a range query and then individually delete each column.  For wide rows, this is very slow, even with batch mutation.
> The thrift API looks like it supports the call, however it throws the following error message:  "Deletion does not yet
> support SliceRange predicates.".  I'm talking specifically about batch_mutate + Mutation(Deletion(SlicePredicate(SliceRange(start, end))).

--
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

        

[jira] [Commented] (CASSANDRA-3448) support SliceRange in deletion

Posted by "Jim Newsham (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142910#comment-13142910 ] 

Jim Newsham commented on CASSANDRA-3448:
----------------------------------------

This issue was marked as a duplicate, but has not been linked to another issue, nor has a fix version been specified.

Which version is this feature implemented in?  In 0.8.1 I get the above-mentioned error ("Deletion does not yet
support SliceRange predicates.").
                
> support SliceRange in deletion
> ------------------------------
>
>                 Key: CASSANDRA-3448
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3448
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jim Newsham
>
> I'd like to be able to delete a range of columns within a row, for a range of column names.  Currently it seems my only option is to do a range query and then individually delete each column.  For wide rows, this is very slow, even with batch mutation.
> The thrift API looks like it supports the call, however it throws the following error message:  "Deletion does not yet
> support SliceRange predicates.".  I'm talking specifically about batch_mutate + Mutation(Deletion(SlicePredicate(SliceRange(start, end))).

--
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

        

[jira] [Commented] (CASSANDRA-3448) support SliceRange in deletion

Posted by "Sylvain Lebresne (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142988#comment-13142988 ] 

Sylvain Lebresne commented on CASSANDRA-3448:
---------------------------------------------

The linked, duplicate, issue is CASSANDRA-494 which is marked as 'Later' meaning that it's not supported yet but is not scheduled for the near future either. The reasons for that are in the comments of the aforementioned ticket but to sum it up: it requires important changes internally and the interest in that feature hasn't been high enough to match it so far. You are free to give your opinion on the matter of course, the 'marked as a duplicate' was just a way to say that the discussion probably belongs to CASSANDRA-494 to avoid dispersion.
                
> support SliceRange in deletion
> ------------------------------
>
>                 Key: CASSANDRA-3448
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3448
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jim Newsham
>
> I'd like to be able to delete a range of columns within a row, for a range of column names.  Currently it seems my only option is to do a range query and then individually delete each column.  For wide rows, this is very slow, even with batch mutation.
> The thrift API looks like it supports the call, however it throws the following error message:  "Deletion does not yet
> support SliceRange predicates.".  I'm talking specifically about batch_mutate + Mutation(Deletion(SlicePredicate(SliceRange(start, end))).

--
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

        

[jira] [Commented] (CASSANDRA-3448) support SliceRange in deletion

Posted by "Jim Newsham (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143498#comment-13143498 ] 

Jim Newsham commented on CASSANDRA-3448:
----------------------------------------

Thanks for the clarification, Sylvain.  I'll direct my attention to the above-mentioned bug.

[Regarding the "linked" issue, I would recommend using JIRA's "More Actions / Link" feature, to directly mark an issue as a duplicate of another issue, as this makes the intent a lot clearer.  A comment is just a comment, and could reflect a personal opinion.  In this case, one person commented and another person closed the issue, which left me wondering.]
                
> support SliceRange in deletion
> ------------------------------
>
>                 Key: CASSANDRA-3448
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3448
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jim Newsham
>
> I'd like to be able to delete a range of columns within a row, for a range of column names.  Currently it seems my only option is to do a range query and then individually delete each column.  For wide rows, this is very slow, even with batch mutation.
> The thrift API looks like it supports the call, however it throws the following error message:  "Deletion does not yet
> support SliceRange predicates.".  I'm talking specifically about batch_mutate + Mutation(Deletion(SlicePredicate(SliceRange(start, end))).

--
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

        

[jira] [Commented] (CASSANDRA-3448) support SliceRange in deletion

Posted by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142606#comment-13142606 ] 

Brandon Williams commented on CASSANDRA-3448:
---------------------------------------------

CASSANDRA-293
                
> support SliceRange in deletion
> ------------------------------
>
>                 Key: CASSANDRA-3448
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3448
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jim Newsham
>
> I'd like to be able to delete a range of columns within a row, for a range of column names.  Currently it seems my only option is to do a range query and then individually delete each column.  For wide rows, this is very slow, even with batch mutation.
> The thrift API looks like it supports the call, however it throws the following error message:  "Deletion does not yet
> support SliceRange predicates.".  I'm talking specifically about batch_mutate + Mutation(Deletion(SlicePredicate(SliceRange(start, end))).

--
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

        

[jira] [Commented] (CASSANDRA-3448) support SliceRange in deletion

Posted by "Brandon Williams (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142607#comment-13142607 ] 

Brandon Williams commented on CASSANDRA-3448:
---------------------------------------------

CASSANDRA-494 is relevant
                
> support SliceRange in deletion
> ------------------------------
>
>                 Key: CASSANDRA-3448
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3448
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jim Newsham
>
> I'd like to be able to delete a range of columns within a row, for a range of column names.  Currently it seems my only option is to do a range query and then individually delete each column.  For wide rows, this is very slow, even with batch mutation.
> The thrift API looks like it supports the call, however it throws the following error message:  "Deletion does not yet
> support SliceRange predicates.".  I'm talking specifically about batch_mutate + Mutation(Deletion(SlicePredicate(SliceRange(start, end))).

--
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