My data format is like:
{The list of keys in tags is varying in size for each row and the keys are also not defined (it can be anything string).
I want to query dataset by tags, i.e., return all rows which have given key: value pair.
In Pinot, we can achieve this by storing all keys in a multi-dimension column TAGS__KEYS and all values in another multi-dimension column TAGS__VALUES and then query using MAP_VALUE function.
Sample query:
SELECT * FROM xyzView WHERE ( tags__KEYS = 'key1' AND tags__VALUES = 'value1' AND mapValue(tags__KEYS,'key1',tags__VALUES) = 'value1' )How can we achieve the same in Druid? Druid also has a multi-dimension column but does not have mapValue functionality. Or can we achieve this using any other way in Druid?
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/b0e2443b-098c-428b-98a4-29a9a779a3d4n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/410627c6-6c19-43df-90a1-d51594edfaacn%40googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/746613f2-f50f-42c9-8626-1fc01b964a04n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/11387fa2-8e18-48e7-88b9-652210f08e34n%40googlegroups.com.