[ https://issues.apache.org/jira/browse/CASSANDRA-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115845#comment-13115845 ]
Jonathan Ellis commented on CASSANDRA-3140: ------------------------------------------- Patch attached with this approach. CQL, Thrift, and build versions are provided. Sample use from cli: {noformat} [default@unknown] use system; Authenticated to keyspace: system [default@system] list versions; ------------------- RowKey: thrift => (column=version, value=19.18.0, timestamp=0) ------------------- RowKey: build => (column=version, value=Unknown, timestamp=0) ------------------- RowKey: cql => (column=version, value=2.0.0, timestamp=0) {noformat} (The "Unknown" build version is what we default to when it's not actually a release with version.properties present.) > Expose server, api versions to CQL > ---------------------------------- > > Key: CASSANDRA-3140 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3140 > Project: Cassandra > Issue Type: New Feature > Reporter: Jonathan Ellis > Assignee: satish babu krishnamoorthy > Priority: Minor > Labels: cql > Fix For: 1.0.1 > > Attachments: 3140-patch.diff, 3140-patch1.diff, 3140-v3.txt > > > Need to expose the CQL api version; might as well include the server version > while we're at it. -- 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