Re: Calculate sum of values in 2nd element of tuple

2016-01-03 Thread robert_dodier
ce is not defined for Tuples. Hope this helps, Robert Dodier -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Calculate-sum-of-values-in-2nd-element-of-tuple-tp25865p25866.html Sent from the Apache Spark User List mailing list archive at Nabble.com. ---

Re: Calculate sum of values in 2nd element of tuple

2016-01-03 Thread Roberto Congiu
t;abc",(1,2,3,4)),("def",(5,6,7,8))))/ > > Is there a difference in how (1,2,3,4) and List(1,2,3,4) is handled? > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Calculate-sum-of-values-in-2nd-element-o

Calculate sum of values in 2nd element of tuple

2016-01-03 Thread jimitkr
List(("abc",(1,2,3,4)),("def",(5,6,7,8/ Is there a difference in how (1,2,3,4) and List(1,2,3,4) is handled? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Calculate-sum-of-values-in-2nd-element-