Which version of Python are you using? I tried 0.8.9 with Druid 0.9.0, and no dimensions or metrics were pulled. Do you mind try the ingestion spec I have and see whether your set-up works? Thanks a lot.
{
"dataSources" : [
{
"spec" : {
"dataSchema" : {
"granularitySpec" : {
"queryGranularity" : "none",
"type" : "uniform",
"segmentGranularity" : "hour"
},
"dataSource" : "flight",
"parser" : {
"type" : "string",
"parseSpec" : {
"timestampSpec" : {
"format" : "auto",
"column" : "timestamp"
},
"format" : "json",
"dimensionsSpec" : {
"dimensions" : [
"airline",
"fare",
"from",
"to",
"date"
]
}
}
},
"metricsSpec" : [
{
"type" : "count",
"name" : "count"
},
{
"type" : "doubleMin",
"name" : "lowest_price",
"fieldName" : "fare"
}
]
},
"tuningConfig" : {
"type" : "realtime",
"intermediatePersistPeriod" : "PT3M",
"windowPeriod" : "PT10M",
"maxRowsInMemory" : 75000
}
},
"properties" : {
"task.partitions" : "1",
"task.replicants" : "1"
}
}
],
"properties" : {
"zookeeper.connect" : "<zookeeper_ip>:2181",
"http.port" : "8200",
"http.threads" : "40"
}
}