Skip to content

Instantly share code, notes, and snippets.

@sandboxws
Created January 19, 2019 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandboxws/2b2cbbcf347c5553906d9ee6500697f1 to your computer and use it in GitHub Desktop.
Save sandboxws/2b2cbbcf347c5553906d9ee6500697f1 to your computer and use it in GitHub Desktop.
PCollectionTuple bqTableRowsTuple =
rows.apply(
"HashMap to TableRow",
ParDo.of(new HashMapToTableRowFn(bqTableRowsSuccessTag, bqTableRowsFailedTag))
.withOutputTags(bqTableRowsSuccessTag, TupleTagList.of(bqTableRowsFailedTag))
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment