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

cli: allow entering binary data to columns with no metadata

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.7 beta 3
    • Component/s: Tools
    • Labels:
      None

      Description

      CASSANDRA-1578 adds support for when we have metadata for the column in the schema, but we should also allow manually turning a given string into a binary format.

      one option would be to allow something like

      set CF[column]=timeuuid(12345678-1234-5678-1234-567812345678)
      

      but this only allows data entry, and would not help when doing gets.

      maybe adding a cli command "assume column family with ..." would be best, allowing the operator to create local metadata that unlike "update columnfamily" doesn't get sent to the server. (saving the local metadata between cli sessions would be good.)

        Attachments

        1. 1603-v2.txt
          19 kB
          Jonathan Ellis
        2. CASSANDRA-1603.patch
          18 kB
          Pavel Yaskevich
        3. CASSANDRA-1603-v3.patch
          19 kB
          Pavel Yaskevich

          Activity

            People

            • Assignee:
              xedin Pavel Yaskevich
              Reporter:
              jbellis Jonathan Ellis
              Reviewer:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: