[ 
https://issues.apache.org/jira/browse/CASSANDRA-15046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17724084#comment-17724084
 ] 

Brad Schoening commented on CASSANDRA-15046:
--------------------------------------------

[~smiklosovic] [~e.dimitrova] It was easy to pull in the code from the patch 
and get it working.

[~paulo] for history display length, I'm wondering about making the size an arg 
to the command instead of an environment variable.

i.e., 

cqlsh> history 25

this would set the default display length to 25 and then display the history. 
Subsequent calls to history would use 25 during the session. This is somewhat 
similar to how our CQL PAGE command works (although that just sets the value) 
and similar to how Linux shell 'history' works.

> Add a "history" command to cqlsh.  Perhaps "show history"?
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-15046
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15046
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CQL/Interpreter
>            Reporter: Wes Peters
>            Assignee: Brad Schoening
>            Priority: Low
>              Labels: lhf
>             Fix For: 5.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I was trying to capture some create key space and create table commands from 
> a running cqlsh, and found there was no equivalent to the '\s' history 
> command in Postgres' psql shell.  It's a great tool for figuring out what you 
> were doing yesterday.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to