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

cli: allow entering binary data to columns with no metadata

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

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.7 beta 3
    • Legacy/Tools
    • 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. CASSANDRA-1603.patch
          18 kB
          Pavel Yaskevich
        2. 1603-v2.txt
          19 kB
          Jonathan Ellis
        3. CASSANDRA-1603-v3.patch
          19 kB
          Pavel Yaskevich

        Activity

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

          People

            xedin Pavel Yaskevich Assign to me
            jbellis Jonathan Ellis
            Pavel Yaskevich
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment