frankgrimes97 commented on code in PR #13887: URL: https://github.com/apache/druid/pull/13887#discussion_r1142516715
########## docs/querying/sql-functions.md: ########## @@ -136,6 +136,42 @@ Returns an array of all values of the specified expression. Concatenates array inputs into a single array. +## ARRAY_OF_DOUBLES_SKETCH + +`ARRAY_OF_DOUBLES_SKETCH(expr, [nominalEntries])` + +`ARRAY_OF_DOUBLES_SKETCH(dimensionColumnExpr, metricColumnExpr, ..., [nominalEntries])` + +**Function type:** [Aggregation](sql-aggregations.md) + +Creates a Tuple sketch. + +## ARRAY_OF_DOUBLES_SKETCH_INTERSECT + +`ARRAY_OF_DOUBLES_SKETCH_INTERSECT(expr, ..., [nominalEntries])` + +**Function type:** [Scalar, sketch](sql-scalar.md#tuple-sketch-functions) + +## ARRAY_OF_DOUBLES_SKETCH_NOT + +`ARRAY_OF_DOUBLES_SKETCH_NOT(expr, ..., [nominalEntries])` + +**Function type:** [Scalar, sketch](sql-scalar.md#tuple-sketch-functions) + +## ARRAY_OF_DOUBLES_SKETCH_UNION + +`ARRAY_OF_DOUBLES_SKETCH_UNION(expr, ..., [nominalEntries])` + +**Function type:** [Scalar, sketch](sql-scalar.md#tuple-sketch-functions) + +## ARRAY_OF_DOUBLES_SKETCH_METRICS_SUM_ESTIMATE Review Comment: Sketches in the Tuple family are all specialized implementations so I'm not sure making this generic can easily be done, if at all. Specifically, the various Tuple sketch implementations in the Apache DataSketches project don't seem to share a type hierarchy so determining the type of the serialized sketch at runtime efficiently might be problematic. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
