mirror of https://github.com/apache/druid.git
document size attribute in thetaSketchSetOp post aggregator
This commit is contained in:
parent
15fc070232
commit
0d5f82aee7
|
@ -37,12 +37,22 @@ Note that you can use `thetaSketch` aggregator on columns which were not ingeste
|
||||||
|
|
||||||
#### Sketch Estimator
|
#### Sketch Estimator
|
||||||
```json
|
```json
|
||||||
{ "type" : "thetaSketchEstimate", "name": <output name>, "fieldName" : <the name field value of the thetaSketch aggregator>}
|
{
|
||||||
|
"type" : "thetaSketchEstimate",
|
||||||
|
"name": <output name>,
|
||||||
|
"fieldName" : <the name field value of the thetaSketch aggregator>
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Sketch Operations
|
#### Sketch Operations
|
||||||
```json
|
```json
|
||||||
{ "type" : "thetaSketchSetOp", "name": <output name>, "func": <UNION|INTERSECT|NOT>, "fields" : <the name field value of the thetaSketch aggregators>}
|
{
|
||||||
|
"type" : "thetaSketchSetOp",
|
||||||
|
"name": <output name>,
|
||||||
|
"func": <UNION|INTERSECT|NOT>,
|
||||||
|
"fields" : <the name field value of the thetaSketch aggregators>,
|
||||||
|
"size": <16384 by default, must be max of size from sketches in fields input>
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
Loading…
Reference in New Issue