Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7291

java.lang.AssertionError when adding a collection to a UDT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1 rc1
    • Legacy/CQL
    • None
    • Normal

    Description

      Here are steps to reproduce on 2.1 branch

      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"
      

      And here is the exception in the log: https://gist.github.com/Mishail/329aad303929bb11c953

      Attachments

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              mishail Mikhail Stepura
              Sylvain Lebresne
              Tom Hobbs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: