Part 5: key operation

Key-value pair RDD (pair RDD) is a common type of data

For the polymerization Calculation

Usually the initial first pass ETL (extract, transformation, loading) operative to transform data into the form of key-value pairs.

 

Create a pair RDD

 

pair RDD conversion operation (conversion action)

 

pair RDD action operations

Guess you like

Origin www.cnblogs.com/ivyharding/p/12386771.html