Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clientDs = sc.parallelize(List('c1', 'c2', 'c3'))
- clientMatrixDs = clientDs.join(clientDs)
- clientProduct.show()
- -- output
- c1, c1
- c1, c2
- c1, c3
- c2, c1
- c2, c2
- c2, c3
- c3, c1
- c3, c2
- c3, c3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement