Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13865

Non consistent response when setting the keyspace in query explicitly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None
    • Legacy/Tools
    • Low

    Description

      Using the python driver this works and the query is prepared against my_keyspace, system is ignored.

      prepared_statement = self.session.prepare("SELECT * from my_keyspace.my_table", keyspace="system")
      

      However this throws a InvalidRequest: Error from server: code=2200 [Invalid query] message="keyspace madeup_ks does not exist"

      prepared_statement = self.session.prepare("SELECT * from my_keyspace.my_table", keyspace="madeup_ks")
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmarhuen Jaume M
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: