Cassandra cql: how to select the LAST n rows from a table
问题 I want to verify that rows are getting added to the table. What cql statement would show the last n rows from the table below? Table description below: cqlsh:timeseries> describe table option_data; CREATE TABLE option_data ( ts bigint, id text, strike decimal, callask decimal, callbid decimal, maturity timestamp, putask decimal, putbid decimal, PRIMARY KEY ((ts), id, strike) ) WITH bloom_filter_fp_chance=0.010000 AND caching='KEYS_ONLY' AND comment='' AND dclocal_read_repair_chance=0.100000