Search code examples
cassandracql3cassandra-2.0cassandra-clicqlsh

Select write time of collection column cassandra


How to select WRITETIMEof a column of type list<text> in Cassandra. I get the following exception when I try this SELECT WRITETIME (column_name) from TABLE_NAME WHERE ID='1';
Exception com.datastax.driver.core.exceptions.InvalidQueryException: Cannot use selection function writeTime on collections


Solution

  • There is not currently a way to get the writetime of the values in a collection column.