How to ingest the json string into druid through "tranquility"


If there is a json string whose field value type is array, for example:


“id”: “34525”,

“af”: [201, 202, 203]


How could I ingest this data into druid through “tranquility”? Should I divide

this data into 3 map record, then ingest them into druid?

It depends on how you want to ingest the data. If you want it to be a multi-valued dimension, or if you want it to go into a hyperUnique or approxHistogram sketch, you can leave it as an array. If you want anything else then you probably want to split that record into three records.