catap / jaql

Jaql is a query language designed for Javascript Object Notation (JSON), a data format that has become popular because of its simplicity and modeling flexibility. Jaql is primarily used to analyze large-scale semi-structured data. Core features include user extensibility and parallelism. In addition to modeling semi-structured data, JSON simplifies extensibility. Hadoop's Map-Reduce is used for parallelism.
2 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