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-11400) maps with frozen UDTs are rejected
Date Tue, 22 Mar 2016 12:50:25 GMT
Robert Stupp created CASSANDRA-11400:
----------------------------------------

             Summary: maps with frozen UDTs are rejected
                 Key: CASSANDRA-11400
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11400
             Project: Cassandra
          Issue Type: Bug
            Reporter: Robert Stupp
            Priority: Minor


The following statements fail:

{code}
CREATE TYPE delivery_address (
  street           text,
  zip              text,
  city             text);

CREATE TABLE customers (
  username         text PRIMARY KEY,
  password_hash    text,
  first_name       text,
  last_name        text,
  email            text,
  delivery_addrs   map < string, frozen<delivery_address> >
);
{code}

with 
{code}
InvalidRequest: code=2200 [Invalid query] message="Non-frozen collections are not allowed
inside collections: map<string, delivery_address>"
{code}

But works fine for {{set<frozen<delivery_address>>}}.



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

Mime
View raw message