cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Default behavior of generate index_name for columns...
Date Sat, 16 Jul 2011 01:44:15 GMT
Please.

On Fri, Jul 15, 2011 at 7:29 PM, Boris Yen <yulinyen@gmail.com> wrote:
> Hi Jonathan,
> Do I need to open a ticket for this?
> Regards
> Boris
>
> On Sat, Jul 16, 2011 at 6:29 AM, Jonathan Ellis <jbellis@gmail.com> wrote:
>>
>> Sounds reasonable to me.
>>
>> On Fri, Jul 15, 2011 at 2:55 AM, Boris Yen <yulinyen@gmail.com> wrote:
>> > Hi,
>> > I have a few column families, each has a column called user_name. I
>> > tried to
>> > use secondary index on user_name column for each of the column family.
>> > However, when creating these column families, cassandra keeps reporting
>> > "Duplicate index name..." exception. I finally figured out that it seems
>> > the
>> > default index name is "column name"+"_idx", this make my column family
>> > violate the "uniqueness of index name" rule.
>> > I was wondering if the default index_name generating rule could be like
>> > "column name"+"cf name", so the index name would not collide with each
>> > other
>> > that easily, if the user do not assign "index_name" when creating a
>> > column
>> > family.
>> > Regards
>> > Boris
>> >
>>
>>
>>
>> --
>> Jonathan Ellis
>> Project Chair, Apache Cassandra
>> co-founder of DataStax, the source for professional Cassandra support
>> http://www.datastax.com
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message