Skip to content

'varint' and 'decimal' scylla types does`t work properly as a maps key. #405

Open
@illia-li

Description

@illia-li

gocql data parsing from scylla defines 'varint' scylla type as 'big.Int' go type.
big.Int not compareble.
Not compareble types can`t be as a maps key.
gocql got out of the situation by create pointer on big.Int.
This led to the fact that a maps key - pointer, not a big.Int.
With 'decimal' same situation because gocql defines 'decimal' as inf.Dec go type, which contains big.Int.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions