This is not a mailing list to ask for help with your code not working. This 
mailing list is for Spark Developers. This question would be a better fit for 
StackOverflow, or for the user mailing list u...@spark.apache.org 
<mailto:u...@spark.apache.org> . 

Best, 
John

> On Apr 19, 2017, at 1:43 PM, Bhupendra Mishra <bhupendra.mis...@gmail.com> 
> wrote:
> 
> Hi All,
> Need your help with subjected error
>  
> following code is executing and  getting error
> 
> cala> val join = 
> bat_first_won.join(total_matches_per_venue).map(x=>(x._1,(x._2._1*100/x._2._2))).map(item
>  => item.swap).sortByKey(false).collect.foreach(println)
> <console>:40: error: value join is not a member of Unit
>          val join = 
> bat_first_won.join(total_matches_per_venue).map(x=>(x._1,(x._2._1*100/x._2._2))).map(item
>  => item.swap).sortByKey(false).collect.foreach(println)
> 

Reply via email to