Usage of String datatype for Metrics Column

Hi,

We have a requirement where we need to use String/DataTime datatype for a metric column.

Is this a possible use case ?

Cheers,

Akhilesh

Hi Akhilesh,

Do you mean you want to do an aggregation on a string? What kind of metric are you looking to compute? Some can be computed on strings by using expressions, which can be used as inputs to many aggregators at ingestion time: https://druid.apache.org/docs/latest/misc/math-expr.html.

Gian

Hi Gian,

I would not be doing any kind of aggregation on this column, need to just persist a value which is of String or DateTime datatype.

The use case would be just for raw data without aggregation.

Thanks.