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

 

question

Serhii avatar image
Serhii asked Erick Ramirez answered

How is it possible to view settings that are used for execution of a query?

I'm wondering if there is a way to print all the options that were used to run the prepared statement? Especially I'm interested in the quorum settings.

spark-cassandra-connector
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

Queries (including prepared statements) use the consistency level you specify. Otherwise, it will use the defaults.

The Spark connector defaults to LOCAL_ONE for read requests and LOCAL_QUORUM for write requests. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.