0
create table t(
key string,
time timeuuid,
val string
) primary key (key,time)

I found 2 methods.

1 - use COPY. But when using COPY I am getting multiple lines for combination of key,time. I just want unique row keys.

2 - Through code using select *.

Above methods are also slower. Is there a better and faster way to do this ?

Peter
  • 2,719
  • 4
  • 25
  • 55

1 Answers1

0

use the sstablekeys utility to dump the keys from the Cassandra table. Here is the reference

sstablekeys utility

dilsingi
  • 2,938
  • 14
  • 24