from groupBy return a DataFrame without aggregation?

2015-10-02 Thread Saif.A.Ellafi
Given ID, DATE, I need all sorted dates per ID, what is the easiest way? I got this but I don't like it: val l = zz.groupBy("id", " dt").agg($"dt".as("dummy")).sort($"dt".asc) Saif

RE: from groupBy return a DataFrame without aggregation?

2015-10-02 Thread Diggs, Asoka
wellsfargo.com] Sent: Friday, October 02, 2015 8:32 AM To: user@spark.apache.org Subject: from groupBy return a DataFrame without aggregation? Given ID, DATE, I need all sorted dates per ID, what is the easiest way? I got this but I don't like it: val l = zz.groupBy("id", " dt"