Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArtisanJoins and not have stable unique names #1034

Closed
labianchin opened this issue Jan 29, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@labianchin
Copy link
Contributor

commented Jan 29, 2018

When using PairSCollectionFuctions rightOuterJoin()

The following error happens:

WARN org.apache.beam.sdk.Pipeline - The following transforms do not have stable unique names: rightOuterJoin@{Foo.scala:76}12, fooJoin2

Example code:

      self.context.parallelize(Seq(1,2))
        .keyBy[Int](_.toInt)
        .withName("fooJoin")
        .rightOuterJoin(self.context.parallelize(Seq(2,3)).keyBy[Int](_.toInt))

The problem seems to be around:

  def rightOuterJoin[W: ClassTag](that: SCollection[(K, W)])
  : SCollection[(K, (Option[V], W))] =
    ArtisanJoin.right(self.tfName, self, that)

where the same transform name is reused in another transform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.