You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Created) (JIRA)" <ji...@apache.org> on 2012/01/21 06:54:42 UTC
[jira] [Created] (CASSANDRA-3764) cqlsh doesn't error out
immediately for use of invalid keyspace
cqlsh doesn't error out immediately for use of invalid keyspace
---------------------------------------------------------------
Key: CASSANDRA-3764
URL: https://issues.apache.org/jira/browse/CASSANDRA-3764
Project: Cassandra
Issue Type: Bug
Components: Tools
Reporter: Jonathan Ellis
Assignee: paul cannon
Priority: Minor
Fix For: 1.0.8
{noformat}
cqlsh> use wordcoun;
cqlsh:wordcoun> select * from input_words;
Bad Request: Keyspace wordcoun does not exist
{noformat}
--
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
[jira] [Commented] (CASSANDRA-3764) cqlsh doesn't error out
immediately for use of invalid keyspace
Posted by "paul cannon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192367#comment-13192367 ]
paul cannon commented on CASSANDRA-3764:
----------------------------------------
+1
> cqlsh doesn't error out immediately for use of invalid keyspace
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3764
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3764
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 1.0.8
>
> Attachments: 3764.txt
>
>
> {noformat}
> cqlsh> use wordcoun;
> cqlsh:wordcoun> select * from input_words;
> Bad Request: Keyspace wordcoun does not exist
> {noformat}
--
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
[jira] [Updated] (CASSANDRA-3764) cqlsh doesn't error out
immediately for use of invalid keyspace
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3764:
--------------------------------------
Attachment: 3764.txt
quick fix attached.
> cqlsh doesn't error out immediately for use of invalid keyspace
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3764
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3764
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 1.0.8
>
> Attachments: 3764.txt
>
>
> {noformat}
> cqlsh> use wordcoun;
> cqlsh:wordcoun> select * from input_words;
> Bad Request: Keyspace wordcoun does not exist
> {noformat}
--
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
[jira] [Commented] (CASSANDRA-3764) cqlsh doesn't error out
immediately for use of invalid keyspace
Posted by "paul cannon (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191411#comment-13191411 ]
paul cannon commented on CASSANDRA-3764:
----------------------------------------
I always thought this was expected behavior. Is there any chance this might break some existing code? I guess probably not.
> cqlsh doesn't error out immediately for use of invalid keyspace
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3764
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3764
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 1.0.8
>
> Attachments: 3764.txt
>
>
> {noformat}
> cqlsh> use wordcoun;
> cqlsh:wordcoun> select * from input_words;
> Bad Request: Keyspace wordcoun does not exist
> {noformat}
--
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
[jira] [Updated] (CASSANDRA-3764) cqlsh doesn't error out
immediately for use of invalid keyspace
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3764:
--------------------------------------
Reviewer: thepaul (was: jbellis)
Assignee: Jonathan Ellis (was: paul cannon)
Looks like this is a server bug, not cqlsh's fault:
{code}
. public void setKeyspace(String ks)
{
keyspace = ks;
}
{code}
> cqlsh doesn't error out immediately for use of invalid keyspace
> ---------------------------------------------------------------
>
> Key: CASSANDRA-3764
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3764
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 1.0.8
>
>
> {noformat}
> cqlsh> use wordcoun;
> cqlsh:wordcoun> select * from input_words;
> Bad Request: Keyspace wordcoun does not exist
> {noformat}
--
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