Apache datasketches

Clone this repo:
  1. 3e17171 Merge pull request #22 from apache/missing-headers by Pierre Lacave · 2 weeks ago main
  2. 604a02a Add missing Apache License headers and Rat exclusion by Pierre Lacave · 3 weeks ago missing-headers
  3. 19d214c Merge pull request #21 from apache/get-num-retained-sorted-view by Pierre Lacave · 5 weeks ago
  4. fa45217 Add getNumRetained to SortedView. by Pierre Lacave · 5 weeks ago
  5. c86fe9d Merge pull request #20 from apache/split-serde-comparator-hasher by Pierre Lacave · 7 weeks ago

Go Go Report Card Release GoDoc License

Apache® DataSketches™ Core Go Library Component

This is the core Go component of the DataSketches library. It contains some of the sketching algorithms and can be accessed directly from user applications.

Note that we have a parallel core component for C++, Java and Python implementations of the same sketch algorithms, datasketches-cpp and datasketches-java.

Please visit the main DataSketches website for more information.

If you are interested in making contributions to this site please see our Community page for how to contact us.

Major Sketches

TypeImplementationStatus
Cardinality
CpcSketch
HllSketch⚠️
ThetaSketch
TupleSketch
Quantiles
CormodeDoublesSketch
CormodeItemsSketch
KllDoublesSketch
KllFloatsSketch
KllSketch
ReqFloatsSketch
Frequencies
LongsSketch⚠️
ItemsSketch⚠️
Sampling
ReservoirLongsSketch
ReserviorItemsSketch
VarOptItemsSketch

Specialty Sketches

TypeInterface NameStatus
Cardinality/FM85UniqueCountMap
Cardinality/TupleFdtSketch
FdtSketch
ArrayOfDoublesSketch
DoubleSketch
IntegerSketch
ArrayOfStringsSketch
EngagementTest3

❌ = Not yet implemented

⚠️ = Implemented but not officially released

=================

This code requires Go 1.21