Cardinality over the lookup

Hello,

Is there a possibility to use cardinality aggregator over the value injected by lookup? If not, how can the similar result be achieved?

Thanks for your time.

Kind regards,

Levani

Hi Levani, I am a little confused as to what you are trying to do. Can you explain in more detail?

Hey Levani,

I think this isn’t possible, although it really should be. Perhaps a good way to do it would be to have the cardinality aggregator take a DimensionSpec rather than a string column name. I raised this issue for that: https://github.com/druid-io/druid/issues/3400

Hello, Gian.

Was this change done only for “cardinality” aggregator or for “hyperUnique” aggregator as well?

Nikita