TEZ-407. Support multiple inputs and connection patterns in Tez (bikas)