You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2014/10/14 21:35:34 UTC

[jira] [Updated] (CASSANDRA-8104) frozen broken / frozen collections in frozen tuple type

     [ https://issues.apache.org/jira/browse/CASSANDRA-8104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tyler Hobbs updated CASSANDRA-8104:
-----------------------------------
    Reviewer: Tyler Hobbs

> 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
>            Assignee: 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)