jrmccluskey commented on code in PR #17663:
URL: https://github.com/apache/beam/pull/17663#discussion_r872568086
##########
sdks/go/test/integration/primitives/checkpointing.go:
##########
@@ -57,7 +57,9 @@ func (fn *selfCheckpointingDoFn) SplitRestriction(_ []byte,
rest offsetrange.Res
s := rest.Start
var splits []offsetrange.Restriction
for e := s + size; e <= rest.End; s, e = e, e+size {
- splits = append(splits, offsetrange.Restriction{Start: s, End:
e})
+ if s != e {
Review Comment:
Yeah I'm having some trouble recreating the issue that was being described,
and this isn't really doing anything.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]