How can I create a table having both Clustering order by and nodesync enabled ?
Since nodesync can be enabled on per table basis, how can I achieve both in create table statement ?
Here's the CQL command for it:
CREATE TABLE ... ( ... ) WITH CLUSTERING ORDER BY (somecolumn DESC) ... AND nodesync = {'enabled': 'true', 'incremental': 'true'};
For more info, see the CQL CREATE TABLE command. Cheers!
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 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