,
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Efficient-way-to-sum-multiple-columns-tp14281.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e
an array and
running the sum function as follows:
for (i - 0 until 10) yield {
data.map(x = x(i)).sum
}
is their a better way to do this?
thanks,
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Efficient-way-to-sum-multiple-columns-tp14281.html