val sumValue = theDF.map(_(0).asInstanceOf[Double]).reduce(_+_)
spark scala 求整列的总和值
最新推荐文章于 2022-08-19 13:00:22 发布
val sumValue = theDF.map(_(0).asInstanceOf[Double]).reduce(_+_)