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