Problem to pars Nested JSON with Imply 1.3.0 (Tranquility 0.8.2)

Dear professions!

I’m trying to parse Nested JSON file in Tranquility 0.8.2 server and can’t get any result. I highly appreciate if you could guide me to find the issue.

Here is my configuration file:

{

“dataSources” : {

“temp” : {

“spec” : {

“dataSchema” : {

“dataSource” : “temp”,

“parser” : {

“type” : “string”,

“parseSpec”: {

“format”: “json”,

“flattenSpec”: {

“useFieldDiscovery”: true,

“fields”: [

{

“type”: “path”,

“name”: “sensor”,

“expr”: “$.data.sensor”

}

]

},

“dimensionsSpec” : {

“dimensions” : [“sensor”],

“dimensionsExclusions”: [“timestamp”,“temperature”]

},

“timestampSpec” : {

“format” : “auto”,

“column” : “timestamp”

}

}

},

“granularitySpec” : {

“type” : “uniform”,

“segmentGranularity” : “hour”,

“queryGranularity” : “none”

},

“metricsSpec” : [

{“name”: “Count”, “type”: “count”},

{“name”: “TempMin”, “type”: “doubleMin”, “fieldName”: “temperature”},

{“name”: “TempMax”, “type”: “doubleMax”, “fieldName”: “temperature”}

]

},

“ioConfig” : {

“type” : “realtime”

},

“tuningConfig” : {

“type” : “realtime”,

“maxRowsInMemory” : “100000”,

“intermediatePersistPeriod” : “PT10M”,

“windowPeriod” : “PT10M”

}

},

“properties” : {

“task.partitions” : “1”,

“task.replicants” : “1”

}

}

},

“properties” : {

“zookeeper.connect” : “localhost”,

“druid.discovery.curator.path” : “/druid/discovery”,

“druid.selectors.indexing.serviceName” : “druid/overlord”,

“http.port” : “8200”,

“http.threads” : “40”

}

}

``

And here is the data:

{“timestamp”: “2016-07-03T09:11:42Z”, “data”:{“sensor”: “sensor4”}, “tag”:“tag5”, “temperature”:25}

``

After all, I get null value for sensor field.

Any clue would be highly appreciated!

Regards,

Saeed

Dear All!

Seriously! It sounds like a bug. I’m on it for days. I appreciate if you guide me where to look!

Cheers,
Saeed

Continued in: https://groups.google.com/d/msg/druid-development/k5A1FDn7tRg/UUomx-OaDwAJ

Yes. Thanks for your considerations.