Seems like these 3 `for` blocks down this method are very similar. Could you extract them into common method with different parameters?
[ Full content available at: https://github.com/apache/beam/pull/6569 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org