{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/scio/issues/313","repository_url":"https://api.github.com/repos/spotify/scio","labels_url":"https://api.github.com/repos/spotify/scio/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/spotify/scio/issues/313/comments","events_url":"https://api.github.com/repos/spotify/scio/issues/313/events","html_url":"https://github.com/spotify/scio/issues/313","id":185517708,"number":313,"title":"Need a SideOutput example","user":{"login":"sfines","id":643445,"avatar_url":"https://avatars.githubusercontent.com/u/643445?v=3","gravatar_id":"","url":"https://api.github.com/users/sfines","html_url":"https://github.com/sfines","followers_url":"https://api.github.com/users/sfines/followers","following_url":"https://api.github.com/users/sfines/following{/other_user}","gists_url":"https://api.github.com/users/sfines/gists{/gist_id}","starred_url":"https://api.github.com/users/sfines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfines/subscriptions","organizations_url":"https://api.github.com/users/sfines/orgs","repos_url":"https://api.github.com/users/sfines/repos","events_url":"https://api.github.com/users/sfines/events{/privacy}","received_events_url":"https://api.github.com/users/sfines/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-26T21:39:51Z","updated_at":"2016-10-26T21:47:23Z","closed_at":null,"body":"I have a complex data flow that I'm trying to represent in SCIO on Scala. In the java google libraries, I would branch types by using SideOutputs, however, while I can define SideOutputs in SCIO, I do not see an equivalent to PCollection.get(TupleTag<>) which would allow me to work on the relevant SideOutput- the best I see are map() or flatMap(). \r\n\r\nThere seem to be no examples using this mechanism, and the only example I can find in the codebase at all are in SCollection.scala and that's a relatively limited use in randomSplit(). \r\n"},"comment":{"url":"https://api.github.com/repos/spotify/scio/issues/comments/256487153","html_url":"https://github.com/spotify/scio/issues/313#issuecomment-256487153","issue_url":"https://api.github.com/repos/spotify/scio/issues/313","id":256487153,"user":{"login":"nevillelyh","id":468514,"avatar_url":"https://avatars.githubusercontent.com/u/468514?v=3","gravatar_id":"","url":"https://api.github.com/users/nevillelyh","html_url":"https://github.com/nevillelyh","followers_url":"https://api.github.com/users/nevillelyh/followers","following_url":"https://api.github.com/users/nevillelyh/following{/other_user}","gists_url":"https://api.github.com/users/nevillelyh/gists{/gist_id}","starred_url":"https://api.github.com/users/nevillelyh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nevillelyh/subscriptions","organizations_url":"https://api.github.com/users/nevillelyh/orgs","repos_url":"https://api.github.com/users/nevillelyh/repos","events_url":"https://api.github.com/users/nevillelyh/events{/privacy}","received_events_url":"https://api.github.com/users/nevillelyh/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T21:47:23Z","updated_at":"2016-10-26T21:47:23Z","body":"Did you look at the doc for `SCollection#withSideOutput`?\r\nhttps://github.com/spotify/scio/blob/master/scio-core/src/main/scala/com/spotify/scio/values/SCollection.scala#L659"}}
{"actor":{"display_login":"nevillelyh"}}