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 row

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