mirror of https://github.com/apache/cassandra
explain how to specify a keyspace
This commit is contained in:
parent
5d40dffabe
commit
b59ae73cf2
|
|
@ -158,7 +158,7 @@ public class ClientState
|
|||
public String getKeyspace() throws InvalidRequestException
|
||||
{
|
||||
if (keyspace == null)
|
||||
throw new InvalidRequestException("no keyspace has been specified");
|
||||
throw new InvalidRequestException("No keyspace has been specified. USE a keyspace, or explicity specify keyspace.tablename");
|
||||
return keyspace;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue