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)