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

Non consistent response when setting the keyspace in query explicitly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Legacy/Tools
    • Labels:
    • Severity:
      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

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

              Dates

              • Created:
                Updated: