Skip to content

Instantly share code, notes, and snippets.

@joestein
Created December 5, 2011 20:34
Show Gist options
  • Save joestein/1435237 to your computer and use it in GitHub Desktop.
Save joestein/1435237 to your computer and use it in GitHub Desktop.
cqlsh:ControlServerLogRequestCount> CREATE COLUMNFAMILY users (KEY varchar PRIMARY KEY,password varchar,gender varchar,session_token varchar,state varchar,birth_year bigint);
cqlsh:ControlServerLogRequestCount> INSERT INTO users (KEY, password) VALUES ('jsmith', 'ch@ngem3a');
cqlsh:ControlServerLogRequestCount> select * from users where KEY='jsmith';
Traceback (most recent call last):
File "bin/cqlsh", line 482, in perform_statement
self.cursor.execute(statement, decoder=decoder)
File "build/bdist.linux-x86_64/egg/cql/cursor.py", line 106, in execute
self.description = self.decoder.decode_description(self.result[0])
File "build/bdist.linux-x86_64/egg/cql/decoders.py", line 33, in decode_description
comparator = schema.name_types.get(name, schema.default_name_type)
AttributeError: 'NoneType' object has no attribute 'name_types'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment