I want run multiple queries and write the output to a file.
How do I execute?
Same Keyspace
----------------------
SELECT *
FROM QUERY A;
SELECT *
FROM QUERY B;
Write Output to a .csv File
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
Easiest way is to use the dsbulk utility.
See Brian Hess's really excellent intro: https://www.datastaxacademy.com/content/datastax-bulk-loader-unloading
3 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2021 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use