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

Support indexes on composite column components (clustered columns)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0 beta 1
    • None
    • None
    • Normal

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: