Skip to content

Instantly share code, notes, and snippets.

@sandboxws
Created December 29, 2018 06:05
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/874f68cecae12050bba4e12750872b81 to your computer and use it in GitHub Desktop.
Save sandboxws/874f68cecae12050bba4e12750872b81 to your computer and use it in GitHub Desktop.
PCollection<TableRow> bqTableRows = rows.apply(
"HashMap to TableRow",
ParDo.of(new HashMapToTableRowFn())
).setCoder(TableRowJsonCoder.of());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment