incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xaero S <xaeros...@gmail.com>
Subject Re: Dropping a built in secondary index on a CF
Date Thu, 28 Apr 2011 04:26:11 GMT
Hi,

You just need to use the update column family command on the cassandra-cli
and specify the columns and their metadata. To get the metadata of the
columns in the CF, you can do describe keyspace <keyspacename>. Keep in mind
that, in your update CF command, the other columns that must continue to
have the secondary index must be specified, otherwise, your data goes bad.
Request the community to correct me if i am wrong.

Xaero.


On Wed, Apr 27, 2011 at 7:10 PM, Roshan Dawrani <roshandawrani@gmail.com>wrote:

> Hi,
>
> Can someone please tell me how I can drop a built in secondary index on a
> column family attribute?
>
> I don't see any direct command to do that in the CLI help.
>
> --
> Roshan
> Blog: http://roshandawrani.wordpress.com/
> Twitter: @roshandawrani <http://twitter.com/roshandawrani>
> Skype: roshandawrani
>
>

Mime
View raw message