Friday, December 28, 2012

Cassandra cqlsh - mismatched input ')' expecting EOF

The default CQLsh version is 2, and it doesn't support composite keys.

To switch to CQLsh 3,
> bin/cqlsh --cql3

To execute a script
> bin/cqlsh --cql3 -f {script_name}

No comments:

Post a Comment