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

Jonathan Ellis reassigned CASSANDRA-3461:
-----------------------------------------

    Assignee: Sylvain Lebresne
    
> Server-side fatal exception when mixing column types in DynamicCompositeType
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3461
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3461
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>         Environment: JDK 1.6.0_26
>            Reporter: Carlos Carrasco
>            Assignee: Sylvain Lebresne
>
> Running this CLI script with cause the Cassandra server to throw a fatal 
> exception, and the CLI to hang for some seconds and then just display "null":
> create keyspace Test;
> use Test;
> create column family Composite  with comparator ='DynamicCompositeType 
> (a=>AsciiType,s=>UTF8Type)';
> set Composite[ascii('key')]['s@one']=ascii('value');
> set Composite[ascii('key')]['a@two']=ascii('value');
> It appears DynamicCompositeType does not allow mixing different types of 
> components in the same "position" for the same row, which makes sense, but 
> shouldn't this be a controled error and passed to the client, instead of 
> throwing a fatal exception in the server side?

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