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

Eric Lubow commented on CASSANDRA-3865:
---------------------------------------

As Yuki said, I'd be more interested in the fix being a complaint of a syntax 
error (or parse error) when attempting to create a column family as opposed to 
"command not found" (which is clearly ambiguous).  This way I (as a user) know 
that the CLI is aware that I am attempting to create a column family and it's 
failing.  Now not only do I know that I am on the right track with the command 
I'm trying to execute, but then I know roughly where the problem is. Fixing the 
parse error is just a band-aid.
                
> Cassandra-cli returns 'command not found' instead of syntax error
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-3865
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3865
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: DSE 1.0.5
>            Reporter: Eric Lubow
>            Assignee: Dave Brosius
>            Priority: Trivial
>              Labels: cassandra-cli
>             Fix For: 1.0.11, 1.1.1
>
>         Attachments: parse_doubles_better.txt
>
>
> When creating a column family from the output of 'show schema' with an index, 
> there is a trailing comma after "index_type: 0,"  The return from this is a 
> 'command not found'  This is misleading because the command is found, there 
> is just a syntax error.
> 'Command not found: `create column family $cfname ...`

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to