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

CQL queries should alow talbe names to be qualified by keyspace

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.1
    • None
    • None

    Description

      While the 0.6.X api was "ugly" in terms of method signatures, it did allow you to use the same client to query multiple keyspaces without having to call set_keyspace(String). I totally dislike set_keyspace but I know the thrift API is definitely not changing.

      The following command sequence is three RPC operations.

      select * from cf;
      use otherkeyspace;
      select * from othercf;
      

      CQL should allow us to do:

      select * from keyspace1.cf;
      select * from keyspace2.cf;
      

      This will make the connection pool management on the client much easier.

      Attachments

        1. CASSANDRA-3130.patch
          6 kB
          Pavel Yaskevich

        Activity

          People

            xedin Pavel Yaskevich
            appodictic Edward Capriolo
            Pavel Yaskevich
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: