Hi Folks,

I have another simple question where I need your experience:

I have a tuple containing lets say browser ids:
Another table maps those ids to the names of that browsers as human
readable strings
(e.g. 1=Firefox, 2=Iceweasel ,3=Blue\ Monster,...)
I would like to know what would be the best practice to perform this
lookup:

My first idea was to write an udf which will do something like 
        String getBrowser(int) 
And call this within a for each.

Another approach would be to do a 
join InputTable by BrowserId, BrowserLookup by Id;

Do you have other ideas? I red about "distributed caches" do they make
sense in this context and how do I use them?

Thanks a lot

Markus





Reply via email to