This message was deleted.
# general
s
This message was deleted.
b
You can do some kinds of joins in druid. Since you say user info can be updated, you might look at lookup tables. (There's a link in the joins page linked above.)
btw, I probably recommend URI-based lookups over jdbc-based, if you use one of those.
v
Thanks Ben ! Will look into this.
One more question @Ben Krug Does this mean I can group by on the attributes fetched from the lookup data as well ? Also can the topN query be run on the attribute of the lookup response ?
b
I believe you can group by a value fetched from a lookup, if that's what you mean. I just realized, I should have mentioned the limitation that looks can only be key:value, ie, one key, one value per row. If you need more than that, there can be other options. (For the second, I'm not sure what you mean about topN on the lookup response.) Lookups do have various limitations you should check in to. btw, there's work being done on broadening join functionality and support.
v
@Ben Krug Yeah, I meant I have one key and multiple values in the lookup. I would like to do groupby on any of them. What other options do I have here ?
b
You can group by the key or value, shouldn't be a problem. Imo, if lookups work, that's probably the best option by far right now, mainly since you want to have updates to the table (and also it doesn't need timestamps).