Created
May 10, 2017 12:50
-
-
Save matteobovetti/12e41f9b9a8e69322a6fa017700c79c9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| agenda | |
| .map { a => | |
| // key extraction | |
| val k1 = a._1.map(extractKey(_)) | |
| val k2 = extractKey(a._2) | |
| (k1, k2) | |
| } | |
| .saveAsTextFile(consistencyPath.toUri.getPath) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment