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

Selecting just the row_key returns nil instead of just the row_key

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Incomplete
    • 1.0.3
    • None
    • Low

    Description

      CREATE KEYSPACE CassandraCQLTestKeyspace WITH strategy_class='org.apache.cassandra.locator.SimpleStrategy' AND strategy_options:replication_factor=1
      USE CassandraCQLTestKeyspace
      CREATE COLUMNFAMILY row_key_validation_cf_ascii (id ascii PRIMARY KEY, test_column text)
      INSERT INTO row_key_validation_cf_ascii (id, test_column) VALUES ('test string', 'test')

      1. Works as expected
        SELECT * FROM row_key_validation_cf_ascii WHERE id = 'test string'
      1. Returns an empty result, unexpected
        SELECT id FROM row_key_validation_cf_ascii WHERE id = 'test string'

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbellis Jonathan Ellis Assign to me
            kreynolds Kelley Reynolds
            Jonathan Ellis
            Pavel Yaskevich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment