Home > other >  The spark grouping calculation
The spark grouping calculation

Time:10-19

The data is as follows:
A 4
A 8
A 16
A 23
5 b
24 b
Want to statistics into:

0-10 to 10-20 20-30
A 2 2 1
B 1 0 1

thank you

CodePudding user response:

RDD is used to implement

CodePudding user response:


Scala, RDD implementing ways and results, please check in time, give points, thank you ~
  • Related