You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yusuke Takata (JIRA)" <ji...@apache.org> on 2016/07/08 10:30:11 UTC

[jira] [Created] (CASSANDRA-12150) cqlsh does not automatically downgrade CQL version

Yusuke Takata created CASSANDRA-12150:
-----------------------------------------

             Summary: cqlsh does not automatically downgrade CQL version
                 Key: CASSANDRA-12150
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12150
             Project: Cassandra
          Issue Type: Improvement
          Components: CQL
            Reporter: Yusuke Takata
            Priority: Minor
         Attachments: patch.txt

Cassandra drivers such as the Python driver can automatically connect a supported version, 
but I found that cqlsh does not automatically downgrade CQL version as the following.
{code}
$ cqlsh
Connection error: ('Unable to connect to any servers', {'127.0.0.1': ProtocolError("cql_version '3.4.2' is not supported by remote (w/ native protocol). Supported versions: [u'3.4.0']",)})
{code}
I think that the function is useful for cqlsh too. 
Could someone review the attached patch?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)