You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (Jira)" <ji...@apache.org> on 2021/05/06 15:56:00 UTC

[jira] [Updated] (CASSANDRA-16658) Broken "help" command on cqlsh 6.0.0

     [ https://issues.apache.org/jira/browse/CASSANDRA-16658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams updated CASSANDRA-16658:
-----------------------------------------
     Bug Category: Parent values: Correctness(12982)
       Complexity: Low Hanging Fruit
    Discovered By: User Report
    Fix Version/s: 4.0-rc
         Severity: Low
           Status: Open  (was: Triage Needed)

> 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
>            Priority: Normal
>             Fix For: 4.0-rc
>
>
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org