ow-to-work-with-a-joined-rdd-in-pyspark-tp25510p25519.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-ma
Can't you just access it by element, like with [0] and [1] ?
http://www.tutorialspoint.com/python/python_tuples.htm
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-work-with-a-joined-rdd-in-pyspark-tp25510p25517.html
Sent from the Apache
in python to do the same :(
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-work-with-a-joined-rdd-in-pyspark-tp25510p25516.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
---
"ABC" ).map( (_._1,
_._2._2)
.reduceByKey( (a,b) => a + b )
This should give you an RDD of one record per show and the summed view count
but only for shows on ABC right?
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-work-with-a-joi
;,
415)), (u'PostModern_Cooking', (u'DEF', 100)), (u'PostModern_Cooking',
(u'DEF', 597))]
I would like to sum views per show for channel = "ABC"
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-work-wi
needed to understand what's going on.
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/How-to-work-with-a-joined-rdd-in-pyspark-tp25510p25511.html
Sent from the Apache Spark User List mailing list archiv
>> on the disk.
>> Subsequent collect queries are not reading data files ( Verified from the
>> logs.)
>> On spark ui I see only shuffle read and no shuffle write.
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-spark-user
t queries are not reading data files ( Verified from the
> logs.)
> On spark ui I see only shuffle read and no shuffle write.
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Joined-RDD-tp18820p18829.html
> Sent fro
message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Joined-RDD-tp18820p18829.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
I perform any action on C (let say collect), action is served
> without
> reading any data from the disk.
> Since no data is cached in spark how is action on C is served without
> reading data from disk.
>
> Thanks
> --Ajay
>
>
>
> --
> View this message in context:
form any action on C (let say collect), action is served without
reading any data from the disk.
Since no data is cached in spark how is action on C is served without
reading data from disk.
Thanks
--Ajay
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.co
.
Since no data is cached in spark how is action on C is served without
reading data from disk.
Thanks
--Ajay
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Joined-RDD-tp18820.html
Sent from the Apache Spark User List mailing list archive at Nabble.com
12 matches
Mail list logo