Merge pull request #2232 from himanshug/doc_fix

document size attribute in thetaSketchSetOp post aggregator
This commit is contained in:
Fangjin Yang 2016-01-07 23:07:36 -08:00
commit 0665b49e65
1 changed files with 12 additions and 2 deletions

View File

@ -37,12 +37,22 @@ Note that you can use `thetaSketch` aggregator on columns which were not ingeste
#### Sketch Estimator
```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
```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