Skip to content

Convert all unknown Coders into CustomCoder CloudObjects#2831

Closed
tgroh wants to merge 2 commits intoapache:masterfrom
tgroh:serialize_unknown_coders_as_java
Closed

Convert all unknown Coders into CustomCoder CloudObjects#2831
tgroh wants to merge 2 commits intoapache:masterfrom
tgroh:serialize_unknown_coders_as_java

Conversation

@tgroh
Copy link
Member

@tgroh tgroh commented May 2, 2017

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

  • Make sure the PR title is formatted like:
    [BEAM-<Jira issue #>] Description of pull request
  • Make sure tests pass via mvn clean verify.
  • Replace <Jira issue #> in the title with the actual Jira issue
    number, if there is one.
  • If this contribution is large, please file an Apache
    Individual Contributor License Agreement.

This ensures that all coders will be serializable, even if there is no
registered coder translator.

@tgroh
Copy link
Member Author

tgroh commented May 2, 2017

R: @lukecwik

Copy link
Member

@lukecwik lukecwik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this will work with the CustomCoder CloudObjectTranslator because of casting.

Also add test.

@tgroh tgroh force-pushed the serialize_unknown_coders_as_java branch from 2d21890 to e69fe60 Compare May 2, 2017 17:41
@tgroh
Copy link
Member Author

tgroh commented May 2, 2017

Test added. Casting reduced.

tgroh added 2 commits May 2, 2017 12:02
This ensures that all coders will be serializable, even if there is no
registered coder translator.
@tgroh tgroh force-pushed the serialize_unknown_coders_as_java branch from e69fe60 to a415b9d Compare May 2, 2017 19:05
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling a415b9d on tgroh:serialize_unknown_coders_as_java into ** on apache:master**.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 69.884% when pulling a415b9d on tgroh:serialize_unknown_coders_as_java into c2c89ed on apache:master.

@lukecwik
Copy link
Member

lukecwik commented May 2, 2017

LGTM

@asfgit asfgit closed this in 0ce01b6 May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants