[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
spark:recipes:using-perl-via-pipes [2014/11/07 11:12]
straka
spark:recipes:using-perl-via-pipes [2014/11/07 11:13]
straka
Line 111: Line 111:
  
 // let rdd be an RDD we want to process, creating ''RDD[ProcessedType]'' // let rdd be an RDD we want to process, creating ''RDD[ProcessedType]''
-rdd.map(encodeJson).pipe("perl script").map(decodeJson[ProcessedType])+rdd.map(encodeJson).pipe("perl script.pl").map(decodeJson[ProcessedType])
 </file> </file>

[ Back to the navigation ] [ Back to the content ]