[
https://issues.apache.org/jira/browse/CASSANDRA-7291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylvain Lebresne updated CASSANDRA-7291:
----------------------------------------
Attachment: (was: 0001-Make-UserType-extend-TupleType.txt)
> java.lang.AssertionError when adding a collection to a UDT
> ----------------------------------------------------------
>
> Key: CASSANDRA-7291
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7291
> Project: Cassandra
> Issue Type: Bug
> Reporter: Mikhail Stepura
> Assignee: Sylvain Lebresne
> Fix For: 2.1 rc1
>
>
> Here are steps to reproduce on 2.1 branch
> {code}
> create keyspace test WITH replication = {'class': 'SimpleStrategy',
> 'replication_factor': 1} ;
> use test;
> create TYPE footype (fooint int, fooset set <text>);
> create table test (key int PRIMARY KEY , data footype );
> insert INTO test (key, data ) VALUES ( 1, {fooint: 1, fooset: {'2'}});
> alter TYPE footype ADD foomap map <int,text>;
> <ErrorMessage code=0000 [Server error] message="java.lang.RuntimeException:
> java.util.concurrent.ExecutionException: java.lang.AssertionError"
> {code}
> And here is the exception in the log:
> https://gist.github.com/Mishail/329aad303929bb11c953
--
This message was sent by Atlassian JIRA
(v6.2#6252)