You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2009/04/21 02:27:47 UTC

[jira] Created: (CASSANDRA-90) get_column call broken with recent ReadCommand change

get_column call broken with recent ReadCommand change
-----------------------------------------------------

                 Key: CASSANDRA-90
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-90
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jun Rao
            Assignee: Jun Rao


get_column returns null on an existing column. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-90) get_column call broken with recent ReadCommand change

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

Jun Rao updated CASSANDRA-90:
-----------------------------

    Attachment: issue90.patch002

Attach a fix.

> get_column call broken with recent ReadCommand change
> -----------------------------------------------------
>
>                 Key: CASSANDRA-90
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-90
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>         Attachments: issue90.patch001, issue90.patch002
>
>
> get_column returns null on an existing column. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-90) get_column call broken with recent ReadCommand change

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

Jonathan Ellis resolved CASSANDRA-90.
-------------------------------------

    Resolution: Fixed

+1

committed w/ minor modification of changing the test to !columnNames.isEmpty() instead of trying to preserve EMPTY_COLUMNS equality.

> get_column call broken with recent ReadCommand change
> -----------------------------------------------------
>
>                 Key: CASSANDRA-90
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-90
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>         Attachments: issue90.patch001, issue90.patch002
>
>
> get_column returns null on an existing column. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-90) get_column call broken with recent ReadCommand change

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

Jun Rao updated CASSANDRA-90:
-----------------------------

    Attachment: issue90.patch001

Attach a testcase that identifies the problem. The problem is caused because when colnames is not provided in ReadCommand, colnames_ doesn't have the same reference as EMPTY_COLUMNS. This broken the test in ReadCommand.doRow().

> get_column call broken with recent ReadCommand change
> -----------------------------------------------------
>
>                 Key: CASSANDRA-90
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-90
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>         Attachments: issue90.patch001, issue90.patch002
>
>
> get_column returns null on an existing column. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.