Open srikanthccv opened 9 months ago
The encode and decode parts should be fairly straightforward from the serialize
and deserialize
methods from ClickHouse. One thing that I am not sure what is the best way to go about it is ColumnType
because it can vary a lot but that doesn't really matter at all because the underlying state decode and encode dictate everything.
This is a parent issue to add support for the data type
AggregateFunction
. Several different categories of quantile functions can be used withAggregateFunction
. I think each of them deserves their own type as they have custom serialization/deserialization. I would like to help with this effort starting withquantile(s)DDSketch
andquantileBFloat16
and more to follow. I have a quick prototype for DDSketch here https://github.com/ClickHouse/ch-go/compare/main...srikanthccv:ch-go:ddsketch.@ernado do you have anything in mind how the API should look like?