You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2019/07/17 18:03:00 UTC
[jira] [Created] (CASSANDRA-15236) date, smallint, time, and
tinyint types should be fixed length
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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org