Apache Cassandra™ 1.2

Deleting rows and columns

The CLI provides the DEL command to delete a row or column (or subcolumn).

Procedure

  1. Delete the coupon_code column for the yomama row key in the users table.
    [default@demo] DEL users ['yomama']['coupon_code'];
    
    [default@demo] GET users ['yomama'];
  2. Delete an entire row.
    [default@demo] DEL users ['yomama'];
Show/hide