cqlsh is a python script that uses datastax python-driver to make requests to cassandra. You can modify the script to suit your needs (see Why cqlsh alignment strings? For an example), or you can write a program using python-driver or another library to do what you need.
Since mongo is document-oriented, it makes sense that a pretty-printed version is an available option. However, cassandra is more columnar / row-oriented, so you usually don’t look at result sets such as documents, instead you look at them more like strings, although I see the usefulness of the “pretty printable” function.
Andy tolbert
source share