lyfeyaj / jaql

Automatically exported from code.google.com/p/jaql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

local predicates in a join

GoogleCodeExporter opened this issue · comments

To be friendly, join should permit "local predicates", i.e. conditions
involving only one input.  The interpretation would be a filter on that
input before the join.  One open question: what's the effect on "preserve"?
 Should we block local predicates on preserved inputs?

Until this is delivered, user should place such local predicates before the
join.

Example:

join i in I,
     j in J
 where i.x == j.x
   and i.local == 3
;

interpretation / workaround:

join i in (I -> filter i.local == 3),
     j in J
 where i.x == j.x
;

Original issue reported on code.google.com by Kevin.Be...@gmail.com on 27 May 2010 at 9:30