cassandra pull request: CASSANDRA-5339 Add YAML network topology snitch

2013-03-12 Thread edong
GitHub user edong opened a pull request: https://github.com/apache/cassandra/pull/14 CASSANDRA-5339 Add YAML network topology snitch In order to support having a Cassandra cluster spanning multiple data centers, some in Amazon EC2 and some not, I'm submitting a YAML network topolog

Re: Issue Upgrade to 1.2.2 from 1.2.1 Table column names changed

2013-03-12 Thread Haithem Jarraya
Thanks! On 12 March 2013 18:01, Michael Kjellman wrote: > Showed up as the first result on Google for me: > > http://www.datastax.com/docs/1.2/cql_cli/cql/ALTER_TABLE#rename-col > > > On 3/12/13 10:56 AM, "Haithem Jarraya" wrote: > > >I have seen this doc, but it is to change the type of the c

Re: Issue Upgrade to 1.2.2 from 1.2.1 Table column names changed

2013-03-12 Thread Michael Kjellman
Showed up as the first result on Google for me: http://www.datastax.com/docs/1.2/cql_cli/cql/ALTER_TABLE#rename-col On 3/12/13 10:56 AM, "Haithem Jarraya" wrote: >I have seen this doc, but it is to change the type of the column not the >column name. > > >On 12 March 2013 17:53, Michael Kjellma

Re: Issue Upgrade to 1.2.2 from 1.2.1 Table column names changed

2013-03-12 Thread Haithem Jarraya
I have seen this doc, but it is to change the type of the column not the column name. On 12 March 2013 17:53, Michael Kjellman wrote: > http://www.datastax.com/docs/1.2/index > http://www.datastax.com/docs/1.2/cql_cli/using/alter > > The users list might be a better place for this discussion if

Re: Issue Upgrade to 1.2.2 from 1.2.1 Table column names changed

2013-03-12 Thread Michael Kjellman
http://www.datastax.com/docs/1.2/index http://www.datastax.com/docs/1.2/cql_cli/using/alter The users list might be a better place for this discussion if you need further help. On 3/12/13 10:50 AM, "Haithem Jarraya" wrote: >Could you please point me to the right syntax for ALTER Table? couldn'

Re: Issue Upgrade to 1.2.2 from 1.2.1 Table column names changed

2013-03-12 Thread Haithem Jarraya
Could you please point me to the right syntax for ALTER Table? couldn't find it Thanks, On 12 March 2013 17:45, Jonathan Ellis wrote: > You should use ALTER TABLE to give the columns meaningful names. The > autogenerated names are there as a convenience, and we do not > guarantee that they w

Re: Issue Upgrade to 1.2.2 from 1.2.1 Table column names changed

2013-03-12 Thread Jonathan Ellis
You should use ALTER TABLE to give the columns meaningful names. The autogenerated names are there as a convenience, and we do not guarantee that they won't change between releases. On Tue, Mar 12, 2013 at 12:41 PM, Haithem Jarraya wrote: > Hi there, > > > > I am seeing an issue that I do not un

Issue Upgrade to 1.2.2 from 1.2.1 Table column names changed

2013-03-12 Thread Haithem Jarraya
Hi there, I am seeing an issue that I do not understand fully, I have a table A with columns a1 blob,a2 int ,a3 int, a4 uuid. I upgraded from 1.2.1 to 1.2.2 and also changed the compaction level to LeveledCompaction. Then I found that 2 of the 4 columns in my tables changed names. It is no

Unable to create index on a column of row key, how to accomplish quick retrieval for given schema?

2013-03-12 Thread Pushkar Prasad
Hi, I have following table structure in Cassandra 1.2.1: * TimeStamp * MACAddress * Data Transfer * LocationID * Primary KEY(TimeStamp, MacAddress) // Composite key, partitioned on TimeStamp There are close to 500K different MAC Address,