Sign in
apache
/
cassandra
/
eb5eda76c5b3110bb86b687da64bb99965af0fbb
/
.
/
doc
/
modules
/
cassandra
/
examples
/
CQL
/
udt.cql
blob: defcc821e62bee27d4b4fbd7dd3e638dd06e3f92 [
file
] [
log
] [
blame
]
CREATE TYPE phone
(
country_code
int
,
number text
,
);
CREATE TYPE address
(
street text
,
city text
,
zip text
,
phones map
<
text
,
phone
>
);
CREATE TABLE user
(
name text PRIMARY KEY
,
addresses map
<
text
,
frozen
<address>
>
);