The transpose operator implements the opposite function of groupTuple. For example given a channel emitting the following tuples:
[ key1, [value1, value2] ]
[ key2, [value3, value4] ]
apply transpose it will return the following:
[ key1, value1 ]
[ key1, value2 ]
[ key2, value3 ]
[ key2, value4 ]
The
transposeoperator implements the opposite function ofgroupTuple. For example given a channel emitting the following tuples:apply
transposeit will return the following: