Bowen Song created CASSANDRA-16658:
--------------------------------------

             Summary: Broken "help" command on cqlsh 6.0.0
                 Key: CASSANDRA-16658
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16658
             Project: Cassandra
          Issue Type: Bug
          Components: CQL/Interpreter
            Reporter: Bowen Song


On cqlsh 5.0.1, "help select" command prints this:
{noformat}
cqlsh> help select
*** No browser to display CQL help. URL for help topic select : 
https://cassandra.apache.org/doc/cql3/CQL-3.2.html#selectStmt
{noformat}
However, on cqlsh 6.0.0, "help select" command prints this:
{noformat}
cqlsh> help select
object of type 'NoneType' has no len()
{noformat}
Steps to reproduce:
 # Create and start a Cassandra 4 docker container
{noformat}
~ $ docker create --name cassandra4 cassandra:4.0
~ $ docker start cassandra4{noformat}

 # Get a shell inside the docker container

{noformat}
 docker exec -ti CONTAINER_NAME bash{noformat}

 # Start a cqlsh and run the "help" command inside it (you have to wait for the 
Cassandra server starting, I had to run "nodetool enablebinary" too, not sure 
why)

{noformat}
root@b03a20987964:/# cqlsh
Connected to Test Cluster at 127.0.0.1:9042
[cqlsh 6.0.0 | Cassandra 4.0-rc1 | CQL spec 3.4.5 | Native protocol v5]
Use HELP for help.
cqlsh> help select
object of type 'NoneType' has no len()
cqlsh> 
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to