uptrace / go-clickhouse

Golang ClickHouse client
https://clickhouse.uptrace.dev
BSD 2-Clause "Simplified" License
253 stars 27 forks source link

Request to support UInt256 with big.Int #44

Open iam047801 opened 2 years ago

iam047801 commented 2 years ago

It would be great if we could use structures like this:

type Data struct {
    Int *big.Int `ch:"type:UInt256"`
}

Currently UInt256 type is not supported and *big.Int maps to String type by default.