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" : "compaction-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",
|
2022-07-28 07:22:13 -04:00
|
|
|
"partitionsSpec": {
|
|
|
|
"type": "dynamic",
|
|
|
|
"maxRowsPerSegment" : 1000
|
|
|
|
}
|
2018-08-09 16:37:52 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|