Skip to content

Commit

Permalink
[BEAM-1069] Update parent version and update PTransform expand()
Browse files Browse the repository at this point in the history
  • Loading branch information
jbonofre committed Dec 14, 2016
1 parent 2e2ae69 commit ec52a24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sdks/java/io/exec/pom.xml
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.beam</groupId>
<artifactId>beam-sdks-java-io-parent</artifactId>
<version>0.4.0-incubating-SNAPSHOT</version>
<version>0.5.0-incubating-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Expand Up @@ -170,7 +170,7 @@ public Read withTimeout(long timeout) {
}

@Override
public PCollection<String> apply(PBegin input) {
public PCollection<String> expand(PBegin input) {
return input
.apply(Create.of(getCommand()))
.apply(ParDo.of(new ExecFn(getExecOptions())));
Expand Down Expand Up @@ -225,7 +225,7 @@ public Write withTimeout(long timeout) {
}

@Override
public PDone apply(PCollection<String> input) {
public PDone expand(PCollection<String> input) {
input.apply(ParDo.of(new ExecFn(getExecOptions())));
return PDone.in(input.getPipeline());
}
Expand Down

0 comments on commit ec52a24

Please sign in to comment.