Hi,
I am generating a DAG in which a vertex has two input edges that originate
on the same vertex (imagine a self-join, or here is an ASCII drawing for
you :-).
-------------------
| |
| V
Source ---> Operator
As far as I understand, every vertex in Tez needs to have a unique name in
the DAG, and logical inputs are offered at runtime as a map of vertex names
to inputs. Therefore, my operator above has only one logical input.
Is that intentional? If the operator logic is designed with two logical
inputs in mind (e.g., a join), what is the best way to model this? Create
many readers per input, duplicate the source vertex, ...?
Perhaps someone has run into a similar situation.
Thanks,
Kostas