cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shahab <shahab.mok...@gmail.com>
Subject Re: using dynamic cell names in CQL 3
Date Thu, 25 Sep 2014 13:13:53 GMT
Thanks,
It seems that I was not clear in my question, I would like to store values
in the column name, for example column.name would be event_name
("temperature") and column-content would be the respective value (e.g.
40.5) . And I need to know how the schema should look like in CQL 3

best,
/Shahab


On Wed, Sep 24, 2014 at 1:49 PM, DuyHai Doan <doanduyhai@gmail.com> wrote:

> Dynamic thing in Thrift ≈ clustering columns in CQL
>
> Can you give more details about your data model ?
>
> On Wed, Sep 24, 2014 at 1:11 PM, shahab <shahab.mokari@gmail.com> wrote:
>
>> Hi,
>>
>> I  would like to define schema for a table where the column (cell) names
>> are defined dynamically. Apparently there is a way to do this in Thrift (
>> http://www.datastax.com/dev/blog/does-cql-support-dynamic-columns-wide-rows
>> )
>>
>> but i couldn't find how i can do the same using CQL?
>>
>> Any resource/example that I can look at ?
>>
>>
>> best,
>> /Shahab
>>
>
>

Mime
View raw message