Slide 25
Slide 25 text
Collecting
Collecting Curating Capitalizing
def processBranches(branchPipe: TypedPipe[BranchModel], outputPath: String): Unit = {
branchPipe
.map { branch =>
(StringKey(branch.branchId).key,
StringKey(branch.courseId).key,
branch.changesDescription.map(_.value).getOrElse(""))
}
.write(TypedTsv[COURSE_BRANCHES_OUTPUT_FORMAT](outputPath))}
Collecting