cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaume M (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13865) Non consistent response when setting the keysace in query an explicily
Date Wed, 13 Sep 2017 21:24:00 GMT

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

Jaume M commented on CASSANDRA-13865:
-------------------------------------

Sorry [~iamaleksey], I've updated the description of the ticket, which was wrong, maybe it
makes sense now

> Non consistent response when setting the keysace in query an explicily
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-13865
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13865
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jaume M
>
> Using the python driver this works and the query is prepared against {{my_keyspace}},
{{system}} is ignored.
> {code}
> prepared_statement = self.session.prepare("SELECT * from my_keyspace.my_table", keyspace="system")
> {code}
> However this throws a {{InvalidRequest: Error from server: code=2200 [Invalid query]
message="keyspace madeup_ks does not exist"}}
> {code}
> prepared_statement = self.session.prepare("SELECT * from my_keyspace.my_table", keyspace="madeup_ks")
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message