spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Compitello <jo...@broadinstitute.org>
Subject Re: <console>:40: error: value join is not a member of Unit
Date Wed, 19 Apr 2017 17:58:34 GMT
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 user@spark.apache.org <mailto:user@spark.apache.org> . 

Best, 
John

> On Apr 19, 2017, at 1:43 PM, Bhupendra Mishra <bhupendra.mishra@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)
> 


Mime
View raw message