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

Row keys should be byte[]s, not Strings

    XMLWordPrintableJSON

Details

    Description

      This issue has come up numerous times, and we've dealt with a lot of pain because of it: let's get it knocked out.

      Keys being Java Strings can make it painful to use Cassandra from other languages, encoding binary data like integers as Strings is very inefficient, and there is a disconnect between our column data types and the plain String treatment we give row keys.

      The key design decision that needs discussion is: Should we apply the column AbstractTypes to row keys? If so, how do Partitioners change?

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              stuhood Stu Hood
              stuhood Stu Hood
              Stu Hood
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: