This closes #3546: [BEAM-2601] Fix broken per-destination finalization.
Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/1f1df272 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/1f1df272 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/1f1df272 Branch: refs/heads/master Commit: 1f1df2722bd8697c51cb93e635804771a4f559ba Parents: 47273b9 ca40663 Author: Eugene Kirpichov <kirpic...@google.com> Authored: Sat Jul 15 10:56:59 2017 -0700 Committer: Eugene Kirpichov <kirpic...@google.com> Committed: Sat Jul 15 10:56:59 2017 -0700 ---------------------------------------------------------------------- .../beam/sdk/io/DefaultFilenamePolicy.java | 27 +++++ .../org/apache/beam/sdk/io/FileBasedSink.java | 43 ++++--- .../java/org/apache/beam/sdk/io/WriteFiles.java | 117 ++++++++++++++----- .../apache/beam/sdk/io/FileBasedSinkTest.java | 2 +- .../org/apache/beam/sdk/io/WriteFilesTest.java | 66 +++++++++-- 5 files changed, 198 insertions(+), 57 deletions(-) ----------------------------------------------------------------------