[ https://issues.apache.org/jira/browse/CASSANDRA-15046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17606410#comment-17606410 ]
Paulo Motta commented on CASSANDRA-15046: ----------------------------------------- Took an initial look, looks fine from a quick glance but haven't tested yet. Can you add test to check that no more than {{$CQLSH_HISTSIZE=50}} entries are displayed? The improvements can probably be done as separate tickets. We will need to write to the development mailing list to see if anyone has any feedback/comments on this feature or preference for {{HISTORY}} command naming. > 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: Yundi Chen > Priority: Low > Labels: ghc-lhf, lhf > Fix For: 4.x > > > 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