Created
January 8, 2019 23:51
-
-
Save imrenagi/2e909e5d37295a9c22ad8389730aedb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//merge the two PCollections | |
PCollectionList<String> collectionList = PCollectionList.of(aCollection).and(bCollection); | |
//flatten | |
PCollection<String> mergedCollectionWithFlatten = collectionList.apply(Flatten.<String>pCollections()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment