You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CASSGO-2 Marshal big int returns variable length slice.
The marshalBigInt return 8 bytes slice in all cases except for big.Int,
which returns a variable length slice, but should be 8 bytes slice as well.
patch by Mykyta Oleksiienko; reviewed by João Reis for CASSGO-2
Copy file name to clipboardExpand all lines: marshal.go
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ type Unmarshaler interface {
77
77
// tinyint, smallint, int | integer types |
78
78
// tinyint, smallint, int | string | formatted as base 10 number
79
79
// bigint, counter | integer types |
80
-
// bigint, counter | big.Int |
80
+
// bigint, counter | big.Int | according to cassandra bigint specification the big.Int value limited to int64 size(an eight-byte two's complement integer.)
81
81
// bigint, counter | string | formatted as base 10 number
0 commit comments