Is it possible to ingest pre-computed Theta Sketch from csv to Druid?

Hi Druid team,

I’m have pre-compute theta objects in spark task and saved it csv file, so I don’t have to ingest every single event to druid but only pre-aggregated data at daily level. I’m curious if it’s possible for druid to load pre-compute theta object? I’m sure it’s a very common use case.

The attachment is my sample input data and the input specs. I don’t think it worked because Druid still reading my theta object column as a serialized format.


input_theta.csv (1010 KB)

input_theta_spec.json (1.18 KB)

It should be possible; in the ingestion spec you posted, the metricsSpec needs to be one level up, on the same level as parser