Minor doc updates (#9217)

* update string first last aggs

* update kafka ingestion specs in docs

* remove unnecessary parser spec
This commit is contained in:
Suneet Saldanha 2020-01-20 11:34:37 -08:00 committed by Jonathan Wei
parent d21054f7c5
commit 180c622e0f
3 changed files with 67 additions and 75 deletions

View File

@ -215,8 +215,7 @@ Note that queries with first/last aggregators on a segment created with rollup e
"type" : "stringFirst",
"name" : <output_name>,
"fieldName" : <metric_name>,
"maxStringBytes" : <integer> # (optional, defaults to 1024),
"filterNullValues" : <boolean> # (optional, defaults to false)
"maxStringBytes" : <integer> # (optional, defaults to 1024)
}
```
@ -231,8 +230,7 @@ Note that queries with first/last aggregators on a segment created with rollup e
"type" : "stringLast",
"name" : <output_name>,
"fieldName" : <metric_name>,
"maxStringBytes" : <integer> # (optional, defaults to 1024),
"filterNullValues" : <boolean> # (optional, defaults to false)
"maxStringBytes" : <integer> # (optional, defaults to 1024)
}
```

View File

@ -183,10 +183,6 @@ Paste in this spec and click `Submit`.
"spec" : {
"dataSchema": {
"dataSource": "wikipedia",
"parser": {
"type": "string",
"parseSpec": {
"format": "json",
"timestampSpec": {
"column": "time",
"format": "auto"
@ -213,8 +209,6 @@ Paste in this spec and click `Submit`.
{ "name": "deleted", "type": "long" },
{ "name": "delta", "type": "long" }
]
}
}
},
"metricsSpec" : [],
"granularitySpec": {
@ -230,6 +224,9 @@ Paste in this spec and click `Submit`.
},
"ioConfig": {
"topic": "wikipedia",
"inputFormat": {
"type": "json"
},
"replicas": 2,
"taskDuration": "PT10M",
"completionTimeout": "PT20M",

View File

@ -3,10 +3,6 @@
"spec" : {
"dataSchema": {
"dataSource": "wikipedia",
"parser": {
"type": "string",
"parseSpec": {
"format": "json",
"timestampSpec": {
"column": "time",
"format": "auto"
@ -42,8 +38,6 @@
"type": "long"
}
]
}
}
},
"metricsSpec": [],
"granularitySpec": {
@ -59,6 +53,9 @@
},
"ioConfig": {
"topic": "wikipedia",
"inputFormat": {
"type": "json"
},
"replicas": 1,
"taskDuration": "PT10M",
"completionTimeout": "PT20M",