cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-8104) frozen broken / frozen collections in frozen tuple type
Date Sun, 12 Oct 2014 12:41:33 GMT
Robert Stupp created CASSANDRA-8104:
---------------------------------------

             Summary: frozen broken / frozen collections in frozen tuple type
                 Key: CASSANDRA-8104
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8104
             Project: Cassandra
          Issue Type: Bug
            Reporter: Robert Stupp
         Attachments: frozen-broken-patch.txt

{{CREATE TABLE foo (key int primary key, tup frozen<tuple<double, list<double>,
set<text>, map<int, boolean>>>)}}

Produces an NPE in {{CQL3Type.freeze()}}, because lists and sets have no keys.

{{CREATE TABLE bar (key int primary key, tup frozen<tuple<double, frozen<list<double>>,
frozen<set<text>>, frozen<map<int, boolean>>>>)}}

Produces some NPEs that prevent the correct error message being printed.

Simple patch attached.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message