Skip to content

by arg of join operator do not work #5837

@Benoitdw

Description

@Benoitdw

Bug report

The by argument of the join operator do not work

Expected behavior and actual behavior

left = Channel.of([1, 'Z'], [5, 'Y'], [1, 'X'])
right = Channel.of(['Z', 6], ['Y', 5], ['X', 4])

left.join(right, by: [1, 0]).view()

I expect to have:

[1,'Z',6], [5,'Y',5], [1, 'X', 4]

But I have no output

Environment

  • Nextflow version: [24.10.4]
  • Java version: 17.0.10
  • Operating system: Linux
  • Bash version: (use the command $SHELL --version) : ZSH 5.9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions