petermarshallio commented on code in PR #13486:
URL: https://github.com/apache/druid/pull/13486#discussion_r1039347710


##########
docs/development/extensions-core/datasketches-tuple.md:
##########
@@ -50,8 +50,41 @@ druid.extensions.loadList=["druid-datasketches"]
 |name|A String for the output (result) name of the calculation.|yes|
 |fieldName|A String for the name of the input field.|yes|
 |nominalEntries|Parameter that determines the accuracy and size of the sketch. 
Higher k means higher accuracy but more space to store sketches. Must be a 
power of 2. See the [Theta sketch 
accuracy](https://datasketches.apache.org/docs/Theta/ThetaErrorTable) for 
details. |no, defaults to 16384|
-|numberOfValues|Number of values associated with each distinct key. |no, 
defaults to 1|
-|metricColumns|If building sketches from raw data, an array of names of the 
input columns containing numeric values to be associated with each distinct 
key.|no, defaults to empty array|
+|metricColumns|If building sketches from raw data, an array of names of the 
input columns containing numeric values to be associated with each distinct 
key. If not provided `filedName` is assumed to be an arrayOfDoublesSketch|no, 
if not provided `filedName` is assumed to be an arrayOfDoublesSketch|
+|numberOfValues|Number of values associated with each distinct key. |no, 
defaults to the length of `metricColumns` if provided and 1 otherwise|
+
+The `arrayOfDoublesSketch` aggregator has two modes of useage:
+
+- built from raw data - `metricColumns` is set to an array
+- directly on top of an ArrayOfDoubles sketch - `metricColumns` is unset and 
`fieldName` represents an ArrayOfDoubles sketch (base64 encoded if at ingestion 
time) with `numberOfValues` doubles.

Review Comment:
   Nit - "leave `metricsColumns` unset`



-- 
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]

Reply via email to