Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Normal
Description
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.
Attachments
Attachments
Issue Links
- blocks
-
CASSANDRA-7563 UserType, TupleType and collections in UDFs
- Resolved