You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Greene (JIRA)" <ji...@apache.org> on 2009/08/11 23:34:15 UTC

[jira] Updated: (CASSANDRA-266) Thrift validation bugs

     [ https://issues.apache.org/jira/browse/CASSANDRA-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Greene updated CASSANDRA-266:
-------------------------------------

    Component/s: Core

> Thrift validation bugs
> ----------------------
>
>                 Key: CASSANDRA-266
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-266
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Evan Weaver
>            Assignee: Jonathan Ellis
>             Fix For: 0.4
>
>         Attachments: 266.patch
>
>
> Server does not raise on invalid insert into regular ColumnFamily
> DEBUG - Applying RowMutation(table='Twitter', key='8', modifications=[ColumnFamily(Statuses [body:false:5@1246336092])])
> DEBUG - RowMutation(table='Twitter', key='8', modifications=[ColumnFamily(Statuses [body:false:5@1246336092])]) applied. 
> OK
> DEBUG - Applying RowMutation(table='Twitter', key='8', modifications=[ColumnFamily(Statuses [fhwagads:body:false:5@1246336111])])
> DEBUG - RowMutation(table='Twitter', key='8', modifications=[ColumnFamily(Statuses [fhwagads:body:false:5@1246336111])]) applied.  
> Not ok... "Statuses:fhwagads:body" insert should have failed. For example:
> java.lang.IllegalArgumentException: Column Family Statuses:fhwagads:fhwagads:body in invalid format. Must be in <column family>:<column> format.
> Also:
> You can request an array of values via get_slice_by_names, and you can request an array of columns via get_super_slice_by_names, but you can't request an array of values through a supercolumn via either one. "Ideally" get_slice_by_names should allow a supercolumn specification like below:
> InvalidRequestException: Column Family StatusRelationships:user_timelines is invalid. 

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