| { |
| "type": "index_parallel", |
| "spec": { |
| "ioConfig": { |
| "type": "index_parallel", |
| "inputSource": { |
| "type": "inline", |
| "data": "{\"t\":\"2000-01-01\",\"dim1\":\"דרואיד\",\"dim2\":\"he\",\"m1\":1.0}\n{\"t\":\"2000-01-01\",\"dim1\":\"druid\",\"dim2\":\"en\",\"m1\":1.0}\n{\"t\":\"2000-01-01\",\"dim1\":\"друид\",\"dim2\":\"ru\",\"m1\":1.0}" |
| }, |
| "inputFormat": { |
| "type": "json" |
| } |
| }, |
| "tuningConfig": { |
| "type": "index_parallel", |
| "partitionsSpec": { |
| "type": "dynamic" |
| } |
| }, |
| "dataSchema": { |
| "dataSource": "foo2", |
| "granularitySpec": { |
| "type": "uniform", |
| "queryGranularity": "NONE", |
| "rollup": false, |
| "segmentGranularity": "YEAR" |
| }, |
| "timestampSpec": { |
| "column": "t", |
| "format": "auto" |
| }, |
| "dimensionsSpec": { |
| "dimensions": [ |
| "dim1", |
| "dim2" |
| ] |
| }, |
| "metricsSpec": [ |
| { |
| "name": "m1", |
| "type": "longSum", |
| "fieldName": "m1" |
| } |
| ] |
| } |
| } |
| } |