Can we do multiple aggregations in one go on the same RDD
something similar to this sql below :
FROM ORDER_ITEMS GROUP BY ORDER_ID
The examples that we see in the aggregateByKey(), is doing two aggregations SUM and Count, but I would like some guidance if we can do multiple aggregations based on same key, can you please kindly explain with a full example.
Learn Spark 1.6.x or Spark 2.x on our state of the art big data labs
- Click here for access to state of the art 13 node Hadoop and Spark Cluster