apache / apache/beam

Source.getDefaultOutputCoder() - hard to implement for adapter style sources

Open
#18,202 0 comments 0 reactions 0 assignees View on GitHub
core improvement java P3
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

Knowing that you can throw CannotProviderCoderException is an important part of implementing getDefaultOutputCoder

The documentation for PTransform's getDefaultOutputCoder mentions this class, and we should do this for the Source class as well.

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

Contributor guide

Open the contributing guide

Research direction

Start with the documentation for Source.getDefaultOutputCoder() and compare it with the PTransform.getDefaultOutputCoder() documentation. Document that implementations may throw CannotProviderCoderException, then verify the generated or checked documentation reflects the guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.