Hey Saliya,

I would add a uniqe ID to both the DataSets, the variable you referred to
as 'i'. Then you can join the two DataSets on the field containing 'i' and
do the mapping on the joined result.

Hope this helps,

Marton

On Thu, Feb 25, 2016 at 5:38 PM, Saliya Ekanayake <esal...@gmail.com> wrote:

> Hi,
>
> I've two data sets like,
>
> DataSet<T> a = ...
> DataSet<T> b = ...
>
> They have the same type and same decomposition. I want to apply a map
> operator that need both *a* and *b. *For example,
>
> a.map( i -> OP)
>
> within this OP I need the corresponding (*i *th) element of *b* as well.
> Is there a way to do this?
>
> Thank you,
> Saliya
>
> --
> Saliya Ekanayake
> Ph.D. Candidate | Research Assistant
> School of Informatics and Computing | Digital Science Center
> Indiana University, Bloomington
> Cell 812-391-4914
> http://saliya.org
>

Reply via email to