I\'m new in cassandra, and I have to export the result of a specific query to a csv file.
I found the COPY command, but (from what I understand) it allo
If I am understanding correctly you want to redirect your output to stdout?
Put your cql command in a file. My files is called select.cql and contents are:
select id from wiki.solr limit 100;
Then issue the following and you get it to stdout:
cqlsh < select.cql
I hope this helps. From there on you can pipe it and add commas, remove headers etc.