bschoening commented on code in PR #2653:
URL: https://github.com/apache/cassandra/pull/2653#discussion_r1312014520
##########
pylib/cqlshlib/cqlshmain.py:
##########
@@ -2209,22 +2187,16 @@ def read_options(cmdlineargs, environment=os.environ):
else:
options.color = should_use_color()
- if options.cqlversion is not None:
- options.cqlversion, cqlvertup = full_cql_version(options.cqlversion)
- if cqlvertup[0] < 3:
- parser.error('%r is not a supported CQL version.' %
options.cqlversion)
Review Comment:
Passing anything other than the current CQL version (3.4.6 w/4.1) causes an
error:
$ cqlsh --cqlversion 3.4.2
....
Connection error: ('Unable to connect to any servers', {'127.0.0.1:9042':
ProtocolError("cql_version '3.4.2' is not supported by remote (w/ native
protocol). Supported versions: ['3.4.6']")})
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]