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
Scylla can use collection and udt types as primary keys, but gemini cant.
Reason: gemini use gocql.Marshal for creating partition keys hash, but 'BagType', 'MapType', 'TupleType', 'UDTType' or/and processing with values of this types doesn't meet the requirements of 'gocql.Marshal'.
That`s leads to errors;
Error on get hash for table:pkSet_ck3_col5, values:[0xc00039a040 0xc00039a060 0xc00039a080 0xc00039a0a0]
PartitionColumns:[[1 1] [1.110223e-16 1.110223e-16] [01 00] [1.1.1.1 1.1.1.1]]
Error is: marshal: can not marshal non collection type into list
panic: interface conversion: gocql.TypeInfo is gocql.NativeType, not gocql.UDTTypeInfo [recovered]
panic: interface conversion: gocql.TypeInfo is gocql.NativeType, not gocql.UDTTypeInfo
The text was updated successfully, but these errors were encountered:
illia-li
changed the title
Gemini types: 'BagType', 'MapType', 'TupleType', 'UDTType' doesn't meet the requirements of 'gocql.Marshal'
Gemini types: 'BagType', 'MapType', 'TupleType', 'UDTType' doesn't meet 'gocql.Marshal' requirements
Jun 14, 2023
Scylla can use collection and udt types as primary keys, but gemini cant.
Reason: gemini use gocql.Marshal for creating partition keys hash, but 'BagType', 'MapType', 'TupleType', 'UDTType' or/and processing with values of this types doesn't meet the requirements of 'gocql.Marshal'.
That`s leads to errors;
The text was updated successfully, but these errors were encountered: