Aleksey Yeschenko created CASSANDRA-15236:
---------------------------------------------

             Summary: date, smallint, time, and tinyint types should be fixed 
length
                 Key: CASSANDRA-15236
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15236
             Project: Cassandra
          Issue Type: Bug
          Components: Local/SSTable
            Reporter: Aleksey Yeschenko


When adding the 4 types above ({{date}}, {{smallint}}, {{time}}, and 
{{tinyint}}) we forgot to override their {{valueLengthIfFixed()}} method. As a 
result of this omission, all 4 types now require an extra byte when serialized 
- to encode length - even {{ByteType}} ({{tinyint}}).

In the next major (4.0 or 5.0?) we should fix this inefficiency.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to