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

cqlsh failed to format value bytearray

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.13
    • Legacy/Tools
    • None
    • Low

    Description

      Execute the following in cqlsh (5.0.1):

      > create table test(column blob, primary key(column));
      > insert into test (column) VALUES(0x00);
      > select * from test;
      
       column
      --------------------
       bytearray(b'\x00')
      
      (1 rows)
      Failed to format value bytearray(b'\x00') : b2a_hex() argument 1 must be string or read-only buffer, not bytearray
      

      Attachments

        Activity

          People

            stefania Stefania Alborghetti
            leonhardt Severin Leonhardt
            Stefania Alborghetti
            Jim Witschey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: