Closed tolbertam closed 8 years ago
Nice work :+1:, I'm going to give paging a go tonight. Do we have a command for importing a schema from file in the cli? I know we can provide at when starting but was wondering if we could otherwise. I can add that if we don't have it.
Initial commit of a 'cqlsh'-like mode for selecting data from sstable(s).
Via jline2, supports history maintained between sessions.
Note: History doesn't work with IntelliJ, IntelliJ also repeats whatever you input, better to use a terminal window to test this out.
Usage:
Example usage and output:
TODO
LEAK DETECTED: a reference (org.apache.cassandra.utils.concurrent.Ref$State@6b25a2cc) to class org.apache.cassandra.io.sstable.format.SSTableReader$InstanceTidier@1601791084:/Users/atolbert/Documents/Projects/sstable-tools/ma-1-big was not released before the reference was garbage collected
)Add 'USE' command to switch active sstable.(Done, @clohfink)Log number of rows.(Done, @tolbertam)'help' command support(Done, @clohfink)Row paging.(Done, @tolbertam)Tab completion(Done, @clohfink)Allow select * from 'sstablepath' to override active sstable for particular query.(Done, @clohfink)Allow 'USE' on a directory to involve all sstables or multiple ones?(Done, @clohfink)Command to import schema from file(Done, @tolbertam)Persist state (used sstable(s), active schema, paging)(Done, @tolbertam)Implement paging for dump command.(Done, @tolbertam)Progress bars for describe on large table(Done, @clohfink)