[
https://issues.apache.org/jira/browse/CASSANDRA-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis updated CASSANDRA-266:
-------------------------------------
Assignee: Jonathan Ellis
Description:
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.
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.
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.
was:
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.
Summary: Thrift validation bugs (was: Server does not raise on invalid
insert into regular ColumnFamily)
> Thrift validation bugs
> ----------------------
>
> Key: CASSANDRA-266
> URL: https://issues.apache.org/jira/browse/CASSANDRA-266
> Project: Cassandra
> Issue Type: Bug
> Reporter: Evan Weaver
> Assignee: Jonathan Ellis
>
> 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.
> 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.
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.