Hi,

I have a table of events of type A for users in the form of (userid:
chararray, timestamp. long), and a list of events of type B in the same
form. I need to get only events B that happened within a certain interval of
an event A for the same user.

Right now, I'm doing a join on user, and then a filter, and it works, but I
tried to implement it by making a table in the form (userid, timestamp A,
{bag of all timestamps for B for userid}), and then a nested filter in a
FOREACH operation. It seems that I can't compare an outside value (timestamp
A) to a value in the bag (timestamp B) in a nested FILTER operation. Is that
possible, or did I just miss the syntax?

If it's possible, would it bring me any performance advantage at all?

Thanks,
Marko

Reply via email to