Replies: 1 comment
-
I assume you are trying to join by index 1 on the left and index 0 on the right. But that is not possible using the by option alone. What you have done is to join on index 1 and 0 from both sides, which in this case yields no matches. Try this instead: left = Channel.of([1, 'Z'], [5, 'Y'], [1, 'X'])
right = Channel.of(['Z', 6], ['Y', 5], ['X', 4])
left
.map { a, b -> [b, a] }
.join(right)
.view() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
The by argument of the join operator do not work
Expected behavior and actual behavior
I expect to have:
But I have no output
Environment
$SHELL --version
) : ZSH 5.9Beta Was this translation helpful? Give feedback.
All reactions