4

I am wondering is there a command to stop displaying MORE rows from the CQL Shell. I created a table and inserted with 100k rows, so every time select * from test_table will display 100k rows, with MORE rows shown by pressing the Enter key. So I have to close the window and start the shell again.

I am using Cassandra on Windows 10 X64.

daiyue
  • 7,196
  • 25
  • 82
  • 149

2 Answers2

7

You can disable paging in cqlsh using the PAGING OFF command https://docs.datastax.com/en/cql/3.1/cql/cql_reference/paging.html

Oded Peer
  • 2,377
  • 18
  • 25
1

Cassandra is technically running your program (the query) so to kill it just press

ctrl -c

like you would to terminate any other command

primChareka
  • 281
  • 3
  • 6