Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
Create the following data model:
CREATE TYPE address ( street text, city text, zip_code int, phones set<text> ); CREATE TYPE fullname ( firstname text, lastname text ); CREATE TABLE users ( id uuid PRIMARY KEY, name FROZEN <fullname>, addresses map<text, FROZEN <address>> ); INSERT INTO users (id, name) VALUES (62c36092-82a1-3a00-93d1-46196ee77204, {firstname: 'Marie-Claude', lastname: 'Josset'});
When trying to select a sub-field in the name type:
SELECT name.lastname FROM users WHERE id=62c36092-82a1-3a00-93d1-46196ee77204;
You get the following error:
list index out of range
Attachments
Attachments
Issue Links
- is broken by
-
CASSANDRA-6910 Better table structure display in cqlsh
- Resolved
- is related to
-
CASSANDRA-8155 confusing error when erroneously querying map secondary index
- Resolved