Can druid ingest json data which has array fields

Hi, Could druid ingest json data which has array fields?
For example:

{“timestamp”: “2013-08-31T12:41:28Z”, “page”: “wiki”, “language” : “en”, “user” : “Tom”, “af”: [1, 2, 3, 4, 5]}

Yes, JSON array fields are supported.

  • Jon

Hey,

Yes, Druid supports multi-value dimensions but not arrays in metric fields. For your example, be sure to enclose your strings in quotes so that they parse correctly, e.g.:

{“timestamp”: “2013-08-31T12:41:28Z”, “page”: “wiki”, “language” : “en”, “user” : “Tom”, “af”: [“1”, “2”, “3”, “4”, “5”]}