is group by driverAge, five is a step,like 20~25 is a
group,26~30 is a group?
how should i do ? who can give some code?
boyingk...@163.com
)
val ceil = floor + interval
(floor,ceil)
}
3. do a groupBy on this RDD (step 1) by passing the function fc
val myrdd = pairedRDD.groupBy( x = fun(x.age, 5) )
On Mon, Sep 15, 2014 at 11:38 PM, boyingk...@163.com boyingk...@163.com
wrote:
Hi:
I have a dataset ,the struct [id,driverAge
for my requirment?
boyingk...@163.com
)
at
org.apache.spark.examples.sql.SparkSQLHBaseRelation.main(SparkSQLHBaseRelation.scala)
boyingk...@163.com
From: Michael Armbrust
Date: 2014-09-11 00:28
To: arthur.hk.c...@gmail.com
CC: arunshell87; u...@spark.incubator.apache.org
Subject: Re: Spark SQL -- more than two tables for join
What version of Spark SQL are you running here? I think a lot