hguven / jaql

Automatically exported from code.google.com/p/jaql
0 stars 0 forks source link

local predicates in a join #87

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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