You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Kevin Burton <bu...@spinn3r.com> on 2014/05/30 20:24:57 UTC
Shouldn't cqlsh have an option for no formatting and no headers?
I do this all the time with mysql… dump some database table to an output
file so that I can use it in a script.
but cqlsh insists on formatting the output.
there should be an option for no headers and no whitespace formatting of
the results.
I mean I can work around it for now… but it's not going to be fun to always
post process the output.
--
Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
Skype: *burtonator*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>
War is peace. Freedom is slavery. Ignorance is strength. Corporations are
people.
Re: Shouldn't cqlsh have an option for no formatting and no
headers?
Posted by Russell Bradberry <rb...@gmail.com>.
cqlsh isn’t designed for dumping data. I think you want COPY http://www.datastax.com/documentation/cql/3.0/cql/cql_reference/copy_r.html
On May 30, 2014 at 2:32:24 PM, Kevin Burton (burton@spinn3r.com) wrote:
I do this all the time with mysql… dump some database table to an output file so that I can use it in a script.
but cqlsh insists on formatting the output.
there should be an option for no headers and no whitespace formatting of the results.
I mean I can work around it for now… but it's not going to be fun to always post process the output.
--
Founder/CEO Spinn3r.com
Location: San Francisco, CA
Skype: burtonator
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
War is peace. Freedom is slavery. Ignorance is strength. Corporations are people.