How can I update the value of the date to date + 3years from CQL? If not through CQL, then how, I have around 1M rows.
How can I update the value of the date to date + 3years from CQL? If not through CQL, then how, I have around 1M rows.
You won't be able to do it via CQL.
One way to do it is with Spark where you need to write an app that would scan through your data and update the values. Cheers!
5 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