According to cql protocol - for all cql types value can be nil and zero.
Therefore all unmarshall functions for cql types should unmarshalls nil data into nilgo value and zero data into zerogo value.
But currently, for varchar, text, blob, asciicql typeszero data unmarshalls into ([]byte)(nil), (*[]byte)(*[nil])
According to cql protocol - for all
cql types
value can benil
andzero
. Therefore all unmarshall functions forcql types
should unmarshallsnil data
intonil
go value
andzero data
intozero
go value
. But currently, forvarchar
,text
,blob
,ascii
cql types
zero data
unmarshalls into([]byte)(nil)
,(*[]byte)(*[nil])