Skip to content

Conversation

@dhalperi
Copy link
Contributor

And do not supply a timestamp when outputting.

Note that this is safe because the functions in the Writer cannot access the window
or timestamp. When we add per-Window or similar functions to the sinks, we will
likely do so at a higher level.

Also testing and improving the existing tests. Note that the session test did fail without the accompanying changes to Write.

And do not supply a timestamp when outputting.

Note that this is safe because the functions in the Writer cannot access the window
or timestamp. When we add per-Window or similar functions to the sinks, we will
likely do so at a higher level.
@dhalperi
Copy link
Contributor Author

R: @bjchambers @dpmills @kennknowles

Roughly any 2 will do.

@bjchambers
Copy link
Contributor

LGTM

.apply(window)
.apply(ParDo.of(new AddArbitraryKey<T>()))
.apply(GroupByKey.<Integer, T>create())
.apply(ParDo.of(new RemoveArbitraryKey<T>()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Up to you, but you can use Values.create() and Flatten.flattenIterables() instead of RemoveArbitraryKey

@dpmills
Copy link
Contributor

dpmills commented Apr 15, 2016

LGTM

@asfgit asfgit closed this in 8dc9032 Apr 15, 2016
@dhalperi dhalperi deleted the write-global-windows branch April 15, 2016 01:03
swegner pushed a commit to swegner/beam that referenced this pull request Apr 22, 2016
iemejia pushed a commit to iemejia/beam that referenced this pull request Jan 12, 2018
mareksimunek pushed a commit to mareksimunek/beam that referenced this pull request May 9, 2018
mareksimunek pushed a commit to mareksimunek/beam that referenced this pull request May 9, 2018
mareksimunek pushed a commit to mareksimunek/beam that referenced this pull request May 9, 2018
mareksimunek pushed a commit to mareksimunek/beam that referenced this pull request May 9, 2018
dmvk pushed a commit to dmvk/beam that referenced this pull request May 15, 2018
dmvk added a commit to dmvk/beam that referenced this pull request May 15, 2018
dmvk pushed a commit to dmvk/beam that referenced this pull request May 15, 2018
mareksimunek pushed a commit to seznam/beam that referenced this pull request Jul 9, 2018
mareksimunek pushed a commit to seznam/beam that referenced this pull request Jul 9, 2018
mareksimunek pushed a commit to seznam/beam that referenced this pull request Jul 9, 2018
dmvk pushed a commit to seznam/beam that referenced this pull request Aug 17, 2018
dmvk added a commit to seznam/beam that referenced this pull request Aug 17, 2018
dmvk pushed a commit to seznam/beam that referenced this pull request Aug 17, 2018
dmvk pushed a commit to seznam/beam that referenced this pull request Oct 5, 2018
dmvk added a commit to seznam/beam that referenced this pull request Oct 5, 2018
dmvk pushed a commit to seznam/beam that referenced this pull request Oct 5, 2018
damccorm pushed a commit that referenced this pull request Dec 19, 2022
Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local>

Co-authored-by: Elias Segundo Antonio <eliassegundo.segundo@gmail.com>
Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local>
lostluck pushed a commit to lostluck/beam that referenced this pull request Dec 22, 2022
)

Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local>

Co-authored-by: Elias Segundo Antonio <eliassegundo.segundo@gmail.com>
Co-authored-by: Elias Segundo <elias.segundo@luisrazo.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants