cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7225) cqlsh help for CQL3 is often incorrect and should be modernized
Date Tue, 17 Nov 2015 22:32:11 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15009727#comment-15009727
] 

Robert Stupp commented on CASSANDRA-7225:
-----------------------------------------

[~pauloricardomg] no worries :)

Have implemented a fallback mechanism. It first tries {{CASSANDRA_PATH/doc/cql3/CQL.html}},
then /usr/share/doc/cassandra/CQL.html and after that the online CQL-x.x.html file on cassandra.apache.org.

Split the patch into different branches for 2.2, 3.0 and trunk.
* 2.2: https://github.com/snazy/cassandra/tree/7225-cqlhelp-2.2 - similar to 3.0, just without
MV statements; uses https://cassandra.apache.org/doc/cql3/CQL-3.2.html as the last fallback.
* 3.0: https://github.com/snazy/cassandra/tree/7225-cqlhelp-3.0 - uses https://cassandra.apache.org/doc/cql3/CQL-3.0.html
as the last fallback (does not exist yet).
* trunk: https://github.com/snazy/cassandra/tree/7225-cqlhelp-notest - same as in 3.0, but
uses uses https://cassandra.apache.org/doc/cql3/CQL-3.2.html as the last fallback (does not
exist yet, of course).


> cqlsh help for CQL3 is often incorrect and should be modernized
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-7225
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7225
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Documentation and Website, Tools
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>            Priority: Trivial
>              Labels: cqlsh
>             Fix For: 3.2, 2.2.x
>
>         Attachments: 7225-add-cql-docs-to-debian-package.patch, 7225-cqlhelp.txt, EXPAND.pdf
>
>
> Just a small line of text in cqlsh "help" command indicates that < is <= and >
is >= in CQL.
> This is confusing to many people (including me :) ) because I did not expect < to
return the "equals" portion.
> Please allow distinct behaviours for <, <=, > and >= in CQL queries. Maybe
in combination with CASSANDRA-5184 and/or CASSANDRA-4914 



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

Mime
View raw message