Skip navigation links

Package org.apache.datasketches.hive.quantiles

Hive UDFs for Quantiles sketches.

See: Description

Package org.apache.datasketches.hive.quantiles Description

Hive UDFs for Quantiles sketches. This includes UDFs for generic ItemsSketch and specialized DoublesSketch.

The generic implementation is in the form of abstract classes DataToItemsSketchUDAF and UnionItemsSketchUDAF to be specialized for particular types of items. An implementation for strings is provided: DataToStringsSketchUDAF, UnionStringsSketchUDAF, plus UDFs to obtain the results from sketches: GetQuantileFromStringsSketchUDF, GetQuantilesFromStringsSketchUDF and GetPmfFromStringsSketchUDF.

Support for DoublesSketch: DataToDoublesSketchUDAF, UnionDoublesSketchUDAF, GetQuantileFromDoublesSketchUDF, GetQuantilesFromDoublesSketchUDF, GetPmfFromDoublesSketchUDF

Author:
Alexander Saydakov
Skip navigation links

Copyright © 2015–2019 The Apache Software Foundation. All rights reserved.