How can I find the size of a RDD

前端 未结 5 1149
失恋的感觉
失恋的感觉 2020-12-04 19:45

I have RDD[Row], which needs to be persisted to a third party repository. But this third party repository accepts of maximum of 5 MB in a single call.

S

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 20:18

    I think RDD.count() will give you the number of elements in the RDD

提交回复
热议问题