2018-08-09 16:37:52 -04:00
|
|
|
{
|
2020-01-15 17:08:29 -05:00
|
|
|
"type" : "index_parallel",
|
2018-08-09 16:37:52 -04:00
|
|
|
"spec" : {
|
|
|
|
"dataSchema" : {
|
|
|
|
"dataSource" : "deletion-tutorial",
|
2020-01-15 17:08:29 -05:00
|
|
|
"timestampSpec": {
|
|
|
|
"column": "time",
|
|
|
|
"format": "iso"
|
|
|
|
},
|
|
|
|
"dimensionsSpec" : {
|
|
|
|
"dimensions" : [
|
|
|
|
"channel",
|
|
|
|
"cityName",
|
|
|
|
"comment",
|
|
|
|
"countryIsoCode",
|
|
|
|
"countryName",
|
|
|
|
"isAnonymous",
|
|
|
|
"isMinor",
|
|
|
|
"isNew",
|
|
|
|
"isRobot",
|
|
|
|
"isUnpatrolled",
|
|
|
|
"metroCode",
|
|
|
|
"namespace",
|
|
|
|
"page",
|
|
|
|
"regionIsoCode",
|
|
|
|
"regionName",
|
|
|
|
"user",
|
|
|
|
{ "name": "added", "type": "long" },
|
|
|
|
{ "name": "deleted", "type": "long" },
|
|
|
|
{ "name": "delta", "type": "long" }
|
|
|
|
]
|
2018-08-09 16:37:52 -04:00
|
|
|
},
|
|
|
|
"metricsSpec" : [],
|
|
|
|
"granularitySpec" : {
|
|
|
|
"type" : "uniform",
|
|
|
|
"segmentGranularity" : "hour",
|
|
|
|
"queryGranularity" : "none",
|
|
|
|
"intervals" : ["2015-09-12/2015-09-13"],
|
|
|
|
"rollup" : false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ioConfig" : {
|
2020-01-15 17:08:29 -05:00
|
|
|
"type" : "index_parallel",
|
|
|
|
"inputSource" : {
|
2018-08-09 16:37:52 -04:00
|
|
|
"type" : "local",
|
2018-11-02 00:47:29 -04:00
|
|
|
"baseDir" : "quickstart/tutorial/",
|
2018-08-09 16:37:52 -04:00
|
|
|
"filter" : "wikiticker-2015-09-12-sampled.json.gz"
|
|
|
|
},
|
2020-01-15 17:08:29 -05:00
|
|
|
"inputFormat" : {
|
|
|
|
"type" : "json"
|
|
|
|
},
|
2018-08-09 16:37:52 -04:00
|
|
|
"appendToExisting" : false
|
|
|
|
},
|
|
|
|
"tuningConfig" : {
|
2020-01-15 17:08:29 -05:00
|
|
|
"type" : "index_parallel",
|
2019-01-10 12:50:14 -05:00
|
|
|
"maxRowsPerSegment" : 5000000,
|
2019-03-16 02:29:25 -04:00
|
|
|
"maxRowsInMemory" : 25000
|
2018-08-09 16:37:52 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|