[
https://issues.apache.org/jira/browse/CASSANDRA-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097869#comment-13097869
]
Radim Kolar commented on CASSANDRA-3140:
----------------------------------------
better to use VALUES syntax instead of SELECT without table name. Its used in
DB2 and Apache Derby.
VALUES api_version();
postgresql requires () in VALUES:
postgres=> values (1,2);
column1 | column2
---------+---------
1 | 2
(1 row)
server_version should be just version()
> 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
> Priority: Minor
> Fix For: 1.0
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira