Skip to content

Commit

Permalink
code format fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhdina-Elena committed Mar 22, 2021
1 parent 6ac4193 commit 906e6e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ public PCollectionTuple expand(PCollection<KV<Integer, Row>> inputRows) {
Duration maxBuffering = Duration.millis(MAX_BUFFERING);
PCollectionTuple pCollectionTuple =
inputRows
.apply("GroupRowsIntoBatches",
.apply(
"GroupRowsIntoBatches",
GroupIntoBatches.<Integer, Row>ofSize(batchSize())
.withMaxBufferingDuration(maxBuffering))
.apply(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@
import org.apache.beam.sdk.values.Row;
import org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Strings;

/**
* The {@link JsonToBeamRow} converts jsons string to beam rows.
*/
/** The {@link JsonToBeamRow} converts jsons string to beam rows. */
public class JsonToBeamRow extends PTransform<PCollection<String>, PCollection<Row>> {

private final String failedToParseDeadLetterPath;
Expand Down

0 comments on commit 906e6e7

Please sign in to comment.