jeffwidman / cqlsh

Home of the cqlsh package on PyPI. Repackages the official Cassandra cqlsh for lighter-weight installs.
Apache License 2.0
21 stars 7 forks source link

allow default consistency to be set in cqlshrc file #14

Closed Algae666 closed 2 years ago

Algae666 commented 2 years ago

add something like this to your cqlshrc:

[connection] default_consistency = LOCAL_QUORUM

jeffwidman commented 2 years ago

This is a great idea!

However given that it changes the underlying cqlsh.py file, rather than the packaging of it, this needs to be submitted against the upstream cassandra repo... more details here:

So I'm afraid I'll have to close this... once you get it to land upstream, then we'll pull it into here automatically as part of the next cassandra release.