Skip to content

[BEAM-2021] Rename StandardCoder to StructuredCoder#2720

Merged
asfgit merged 1 commit intoapache:masterfrom
tgroh:structured_coder_not_standard_coder
Apr 29, 2017
Merged

[BEAM-2021] Rename StandardCoder to StructuredCoder#2720
asfgit merged 1 commit intoapache:masterfrom
tgroh:structured_coder_not_standard_coder

Conversation

@tgroh
Copy link
Member

@tgroh tgroh commented Apr 26, 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. (Even better, enable
    Travis-CI on your fork and ensure the whole test matrix passes).
  • 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.

StandardCoder has improper connotations - mainly, "Standard" as in
"Standardized" as opposed to "Standard" as in "normal". StructuredCoder
communicates the important part of the class, which is that the coder
has some meaningful structure, and that structure can be used by a
runner.

Keep StandardCoder around as a temporary shim for the DataflowRunner.
Will be removed as soon as an updated worker is available.

To be merged after #2717

R: @kennknowles or @lukecwik

Copy link
Member

@kennknowles kennknowles left a comment

Choose a reason for hiding this comment

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

LGTM

@kennknowles
Copy link
Member

Rebase & test. Probably want to check the ValidatesRunner suites somewhat just to be sure.

@tgroh tgroh force-pushed the structured_coder_not_standard_coder branch 2 times, most recently from 84b4835 to 44ee6d8 Compare April 27, 2017 22:26
@tgroh
Copy link
Member Author

tgroh commented Apr 27, 2017

run dataflow validatesrunner

@tgroh tgroh force-pushed the structured_coder_not_standard_coder branch from 44ee6d8 to 92c9a87 Compare April 28, 2017 16:59
@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 69.686% when pulling 92c9a87 on tgroh:structured_coder_not_standard_coder into ccfff5f on apache:master.

@tgroh tgroh force-pushed the structured_coder_not_standard_coder branch from 92c9a87 to 0378e8f Compare April 28, 2017 21:36
@tgroh
Copy link
Member Author

tgroh commented Apr 28, 2017

run dataflow validatesrunner


<properties>
<dataflow.container_version>beam-master-20170421</dataflow.container_version>
<dataflow.container_version>beam-master-20170428</dataflow.container_version>
Copy link
Member

Choose a reason for hiding this comment

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

You don't need this any more; we are on a worker beyond it.

Copy link
Member

@kennknowles kennknowles left a comment

Choose a reason for hiding this comment

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

LGTM. This is a very helpful rename.

StandardCoder has improper connotations - mainly, "Standard" as in
"Standardized" as opposed to "Standard" as in "normal". StructuredCoder
communicates the important part of the class, which is that the coder
has some meaningful structure, and that structure can be used by a
runner.

Update Dataflow Worker Version
@tgroh tgroh force-pushed the structured_coder_not_standard_coder branch from 0378e8f to 2d13bac Compare April 29, 2017 01:43
@asfgit asfgit merged commit 2d13bac into apache:master Apr 29, 2017
asfgit pushed a commit that referenced this pull request Apr 29, 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.

4 participants