apache / apache/beam

Improve documentation when using AvroIO dynamic destination with user define objects

Open
#19,102 0 comments 0 reactions 0 assignees View on GitHub
avro improvement io java P4
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

As described here: [https://mail-archives.apache.org/mod_mbox/beam-user/201809.mbox/%3CCAMsy_NjC_95t+v=30kc9hG1gAZhFTfV-9YhMTacO85E+PsUZjg@mail.gmail.com%3E](https://mail-archives.apache.org/mod_mbox/beam-user/201809.mbox/%3CCAMsy_NjC_95t+v=30kc9hG1gAZhFTfV-9YhMTacO85E+PsUZjg@mail.gmail.com%3E)

Title: AvroIO - failure using direct runner with java.nio.file.FileAlreadyExistsException when moving from temp to destination

Please improve the *org.apache.beam.sdk.io.DynamicAvroDestinations* JavaDoc to state that when using a user define object as  hashCode and equals needs to be implemented.

Imported from Jira [BEAM-5511](https://issues.apache.org/jira/browse/BEAM-5511). Original Jira may contain additional context.
Reported by: jcgarciam.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.