On Thu, Sep 25, 2014 at 6:13 AM, shahab <shahab.mok...@gmail.com> wrote:

> 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
>

You cannot have dynamic column names, in the exact storage way you are
thinking of them, in CQL3.

You can have a simple E-A-V scheme which works more or less the same way.
It is less storage efficient, but you get the CQL interface. In the opinion
of the developers, this was an acceptable tradeoff. In most cases, it
probably is.

In other cases, I would recommend using thrift and actual dynamic
columns... except that I logically presume Thrift will be eventually be
deprecated. I am unable to recommend the use of a feature which I believe
will eventually be removed from the product.

=Rob

Reply via email to