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

CQL3, Static columns not returning rows if values are not set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.9
    • None
    • None
    • Normal

    Description

      Just a quick note on static columns, if you create some cql rows using clustered columns and don't provide a value for a static column, then selecting the row key with the (null) static column won't return any rows.

      create table statictest( a int, b text static, c text, PRIMARY KEY (a, c));
      insert into statictest (a, c) values (1, 'test');
      select a,b from statictest;

      (0 rows)

      Attachments

        1. 7305.txt
          8 kB
          Sylvain Lebresne

        Issue Links

          Activity

            People

              slebresne Sylvain Lebresne
              patcho2005 Patrick Callaghan
              Sylvain Lebresne
              Tom Hobbs
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: