Re: Default behavior of generate index_name for columns...

2011-07-18 Thread David Boxenhorn
It would be nice if this were fixed before I move up to 0.8... On Mon, Jul 18, 2011 at 3:19 PM, Boris Yen wrote: > If it would not cause the dev team to much trouble, I think the cassandra > should maintain the backward compatability regarding the generation of the > default index_name, otherwis

Re: Default behavior of generate index_name for columns...

2011-07-18 Thread Boris Yen
If it would not cause the dev team to much trouble, I think the cassandra should maintain the backward compatability regarding the generation of the default index_name, otherwise when people start dropping columns indices, the result might not be what they want. On Mon, Jul 18, 2011 at 7:59 PM, Jo

Re: Default behavior of generate index_name for columns...

2011-07-18 Thread Jonathan Ellis
On Mon, Jul 18, 2011 at 12:20 AM, Boris Yen wrote: > Will this have any side effect when doing a get_indexed_slices No > or when a > user wants to drop an index by any means? Sort of; one of the indexes with the name will be dropped, but not all. -- Jonathan Ellis Project Chair, Apache Cassan

Re: Default behavior of generate index_name for columns...

2011-07-18 Thread David Boxenhorn
Ah, that's it. I'm on 0.7 On Mon, Jul 18, 2011 at 1:27 PM, Boris Yen wrote: > which version of cassandra do you use? What I mentioned here only happens > on 0.8.1. > > > On Mon, Jul 18, 2011 at 4:44 PM, David Boxenhorn wrote: > >> I have lots of indexes on columns with the same name. Why don't I

Re: Default behavior of generate index_name for columns...

2011-07-18 Thread Boris Yen
which version of cassandra do you use? What I mentioned here only happens on 0.8.1. On Mon, Jul 18, 2011 at 4:44 PM, David Boxenhorn wrote: > I have lots of indexes on columns with the same name. Why don't I have this > problem? > > For example: > > Keyspace: City: > Replication Strategy: org

Re: Default behavior of generate index_name for columns...

2011-07-18 Thread David Boxenhorn
I have lots of indexes on columns with the same name. Why don't I have this problem? For example: Keyspace: City: Replication Strategy: org.apache.cassandra.locator.SimpleStrategy Replication Factor: 3 Column Families: ColumnFamily: AttractionCheckins Columns sorted by: org.apac

Re: Default behavior of generate index_name for columns...

2011-07-17 Thread Boris Yen
Will this have any side effect when doing a get_indexed_slices or when a user wants to drop an index by any means? Boris On Mon, Jul 18, 2011 at 1:13 PM, Jonathan Ellis wrote: > 0.8.0 didn't check for name conflicts correctly. 0.8.1 does, but it > can't fix the ones 0.8.0 allowed, retroactivel

Re: Default behavior of generate index_name for columns...

2011-07-17 Thread Jonathan Ellis
0.8.0 didn't check for name conflicts correctly. 0.8.1 does, but it can't fix the ones 0.8.0 allowed, retroactively. On Sun, Jul 17, 2011 at 11:52 PM, Boris Yen wrote: > I have tested another case, not sure if this is a bug. > I created a few column families on 0.8.0 each has user_name column, i

Re: Default behavior of generate index_name for columns...

2011-07-17 Thread Boris Yen
I have tested another case, not sure if this is a bug. I created a few column families on 0.8.0 each has user_name column, in addition, I also enabled secondary index on this column. Then, I upgraded to 0.8.1, when I used cassandra-cli: show keyspaces, I saw index name "user_name_idx" appears for

Re: Default behavior of generate index_name for columns...

2011-07-15 Thread Boris Yen
Done. It is CASSANDRA-2903 . On Sat, Jul 16, 2011 at 9:44 AM, Jonathan Ellis wrote: > Please. > > On Fri, Jul 15, 2011 at 7:29 PM, Boris Yen wrote: > > Hi Jonathan, > > Do I need to open a ticket for this? > > Regards > > Boris > > > > On Sa

Re: Default behavior of generate index_name for columns...

2011-07-15 Thread Jonathan Ellis
Please. On Fri, Jul 15, 2011 at 7:29 PM, Boris Yen 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 wrote: >> >> Sounds reasonable to me. >> >> On Fri, Jul 15, 2011 at 2:55 AM, Boris Yen wrote: >> > Hi, >> > I hav

Re: Default behavior of generate index_name for columns...

2011-07-15 Thread Boris Yen
Hi Jonathan, Do I need to open a ticket for this? Regards Boris On Sat, Jul 16, 2011 at 6:29 AM, Jonathan Ellis wrote: > Sounds reasonable to me. > > On Fri, Jul 15, 2011 at 2:55 AM, Boris Yen wrote: > > Hi, > > I have a few column families, each has a column called user_name. I tried > to >

Re: Default behavior of generate index_name for columns...

2011-07-15 Thread Jonathan Ellis
Sounds reasonable to me. On Fri, Jul 15, 2011 at 2:55 AM, Boris Yen 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

Default behavior of generate index_name for columns...

2011-07-15 Thread Boris Yen
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 t