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

Support indexes on composite column components (clustered columns)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 2.0 beta 1
    • Component/s: None
    • Labels:
      None

      Description

      Given

      CREATE TABLE foo (
        a int,
        b int,
        c int,
        PRIMARY KEY (a, b)
      );
      

      We should support CREATE INDEX ON foo(b).

        Attachments

        1. 0004-Handle-partition-key-indexing.txt
          16 kB
          Sylvain Lebresne
        2. 0003-Handle-new-type-of-IndexExpression.txt
          39 kB
          Sylvain Lebresne
        3. 0002-Generalize-CompositeIndex-for-all-column-type.txt
          53 kB
          Sylvain Lebresne
        4. 0001-Refactor-aliases-into-column_metadata.txt
          108 kB
          Sylvain Lebresne

          Issue Links

            Activity

              People

              • Assignee:
                slebresne Sylvain Lebresne
                Reporter:
                jbellis Jonathan Ellis
                Reviewer:
                Aleksey Yeschenko
              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: