Update operators for tables

Use update operators to update rows in a table. You can use update operators on all supported types.

For examples, see the references for commands that use these operators, such as Update a row.

Name Purpose

$set

Sets a given column’s value to the specified value.

$unset

Sets a given column’s value to null or the equivalent empty form, such as [] or {} for map, list, and set types.

$rename isn’t supported. Instead, use alterTable to add and drop columns.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2025 DataStax | Privacy policy | Terms of use | Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, 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. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com