Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cassandra/cqltypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,10 @@ def deserialize(byts, protocol_version):
def serialize(byts, protocol_version):
return int16_pack(byts)

@classmethod
def serial_size(cls):
return 2

class TimeType(_CassandraType):
typename = 'time'
# Time should be a fixed size 8 byte type but Cassandra 5.0 code marks it as
Expand Down
Loading