Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-23 Thread Adam Holmberg
Michael, Thanks for pointing that out. It is a driver issue affecting CQL export (but not the execution API). I created a ticket to track and resolve: https://datastax-oss.atlassian.net/browse/PYTHON-447 Adam On Sat, Nov 21, 2015 at 8:38 AM, Laing, Michael wrote: >

Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-21 Thread Laing, Michael
> > All these pain we need to take because the column names have special >> character like " ' _- ( ) '' ¬ " etc. >> > Hmm. I tried: cqlsh:test> create table quoted_col_name ( pk int primary key, "'_-()""¬" int); cqlsh:test> select * from quoted_col_name; *pk* | *'_-()"¬* +- (0

Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-21 Thread Laing, Michael
Quickly reviewing this spec: https://github.com/apache/cassandra/blob/trunk/doc/native_protocol_v4.spec I see that column_name is a utf-8 encoded string. So you should be able to pass unicode into the python driver and have it do the "right thing". If not, it's a bug IMHO. On Sat, Nov 21, 2015

RE: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-20 Thread Rajesh Radhakrishnan
___ From: Carlos Alonso [i...@mrcalonso.com<mailto:i...@mrcalonso.com>] Sent: 13 November 2015 11:55 To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statem

Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-20 Thread Eric Stevens
;> >> It WORKS! now. I dont know this is right solution, but its a work around. >> >> So clearly some config value need to be updated for some parameter in >> cassandra.yaml >> >> Do you know which one? >> >> >> >>

Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-13 Thread Carlos Alonso
Maybe schema disagreement? Run nodetool describecluster to discover Carlos Alonso | Software Engineer | @calonso On 13 November 2015 at 11:14, Rajesh Radhakrishnan < rajesh.radhakrish...@phe.gov.uk> wrote: > > Hi, > > I am using Cassandra 2.1.5 in a cluster of two

RE: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-13 Thread Rajesh Radhakrishnan
2015 11:55 To: user@cassandra.apache.org Subject: Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement Maybe schema disagreement? Run nodetool describecluster to discover Carlos Alonso | Software Engineer | @calonso<https://twitter.com/calo

RE: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-13 Thread Rajesh Radhakrishnan
you know which one? From: Laing, Michael [michael.la...@nytimes.com] Sent: 13 November 2015 12:26 To: user@cassandra.apache.org Subject: Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement Dynamic schema changes

Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-13 Thread Alex Popescu
ed to be updated for some parameter in > cassandra.yaml > > Do you know which one? > > > > -- > *From:* Laing, Michael [michael.la...@nytimes.com] > *Sent:* 13 November 2015 12:26 > > *To:* user@cassandra.apache.org > *Subject:* Re: G

Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-13 Thread Rajesh Radhakrishnan
Hi, I am using Cassandra 2.1.5 in a cluster of two nodes (running CentOS) and using Python driver to connect to Cassandra. My Python code snippet is show here: #--- import time, os,

Re: Getting code=2200 [Invalid query] message=Invalid column name ... while executing ALTER statement

2015-11-13 Thread Laing, Michael
er@cassandra.apache.org > *Subject:* Re: Getting code=2200 [Invalid query] message=Invalid column > name ... while executing ALTER statement > > Maybe schema disagreement? > > Run nodetool describecluster to discover > > Carlos Alonso | Software Engineer | @calonso <htt