我是德鲁伊的新手 . 试图以JSON格式将非常简单的数据加载到德鲁伊 . 数据只包含一个维度,一个指标和时间戳 . 我已经成功地将数据加载到德鲁伊为不同的数据集,但不知何故我得到这个数据集的错误 . 这是我的索引文件:

{
  "type" : "index",
  "spec" : {
    "dataSchema" : {
      "dataSource" : "datatemplate",
      "parser" : {
        "type" : "string",
        "parseSpec" : {
          "format" : "json",
          "dimensionsSpec" : {
            "dimensions" : [
              "Loc"
   ]
          },
          "timestampSpec" : {
            "format" : "auto",
            "column" : "Timestamp"
          }
        }
      },
      "metricsSpec" : [{"name" : "Qty","type" : "doubleSum","fieldName" : "Qty"}],
      "granularitySpec" : {
        "type" : "uniform",
        "segmentGranularity" : "day",
        "queryGranularity" : "none",
        "intervals" : ["2016-01-01T00:00:00Z/2030-06-30T00:00:00Z"],
        "rollup" : true
      }
    },
    "ioConfig" : {
      "type" : "index",
      "firehose" : {
        "type" : "local",
        "baseDir" : "datatemplate/",
        "filter" : "datatemplate.json"
      },
      "appendToExisting" : false
    },
    "tuningConfig" : {
      "type" : "index",
      "targetPartitionSize" : 10000000,
      "maxRowsInMemory" : 40000,
      "forceExtendableShardSpecs" : true
    }
  }
}

这里是我的JSON格式的数据集:

{"Loc": "A", "Qty": "1", "Timestamp": "2017-12-01T00:00:00Z"}
{"Loc": "A", "Qty": "1", "Timestamp": "2017-12-01T00:00:00Z"}
{"Loc": "B", "Qty": "2", "Timestamp": "2017-12-01T00:00:00Z"}
{"Loc": "B", "Qty": "1", "Timestamp": "2017-12-01T00:00:00Z"}