[ https://issues.apache.org/jira/browse/CASSANDRA-3842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-3842: --------------------------------------- Attachment: CASSANDRA-3842.patch saves the file with CLI schema definitions and then just displays it's contents to the user + prints the name of the file for later use. Format of the file name "schema[-<keyspace>]-<timestamp>.cli" [-keyspace] part is only added when `show schema` was executed while one of the keyspaces was selected using `use <keyspace>` command. > Make CLI `show schema` output data into the file as well is display it to > user. > ------------------------------------------------------------------------------- > > Key: CASSANDRA-3842 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3842 > Project: Cassandra > Issue Type: Improvement > Reporter: Pavel Yaskevich > Assignee: Pavel Yaskevich > Priority: Minor > Fix For: 1.0.8 > > Attachments: CASSANDRA-3842.patch > > > Primary use-case for `show schema` is to persist current schema to load it > later (possibly on the other machines), so if we output it into timestamped > file this would make a good bonus in usability. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira