You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Lohfink (JIRA)" <ji...@apache.org> on 2019/04/18 18:48:00 UTC

[jira] [Commented] (CASSANDRA-15091) How to access indexed list of user defined data type as a frozen on a table column "foos" is defined as "list>"?

    [ https://issues.apache.org/jira/browse/CASSANDRA-15091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821409#comment-16821409 ] 

Chris Lohfink commented on CASSANDRA-15091:
-------------------------------------------

This is not a bug, please direct user questions to the mailing list, IRC or stack overflow: http://cassandra.apache.org/community/

You need to design your schema around your queries which is going to require a different model. The partition key or clustering key needs to be {{foo}}, not just have {{foo}} contained in a UDT.

> How to access indexed list of user defined data type as a frozen on a table column "foos" is defined as  "list<frozen<UDT>>"?
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15091
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15091
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Rajeshwar
>            Priority: Normal
>
> {{Let foo is defined as foo in below}}
> {code:java}
>  CREATE TYPE api.foo ( arrival_date_time text, carrier_iata text, carrier_id text, carrier_name text, class_code text, departure_date_time text, flight_duration int, "from" text, "to" text, via text ); {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org