[
https://issues.apache.org/jira/browse/CASSANDRA-12150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15370089#comment-15370089
]
Stefania commented on CASSANDRA-12150:
--------------------------------------
+1, I've also removed {{DEFAULT_CQL_VERSION}}.
I'm not sure we need {{--cqlversion}} at all, given that a server will not
accept an older version, but I've left it for backward compatibility.
Test results are still pending:
|*trunk*||[patch|https://github.com/stef1927/cassandra/commits/12150-cqlsh]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12150-cqlsh-cqlsh-tests/]|
> 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
> Labels: cqlsh
> 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)