Perform a groupBy on an already groupedDataset

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Perform a groupBy on an already groupedDataset

Punit Naik
Hello

I wanted to perform a groupBy on an already grouped dataset. How do I do this?

--
Thank You

Regards

Punit Naik
Reply | Threaded
Open this post in threaded view
|

Re: Perform a groupBy on an already groupedDataset

Fabian Hueske-2
Grouping a grouped dataset is not supported.
You can group on multiple keys: dataSet.groupBy(1,2).

Can you describe your use case if that does not solve the problem?



2016-05-02 10:34 GMT+02:00 Punit Naik <[hidden email]>:
Hello

I wanted to perform a groupBy on an already grouped dataset. How do I do this?

--
Thank You

Regards

Punit Naik

Reply | Threaded
Open this post in threaded view
|

Re: Perform a groupBy on an already groupedDataset

Punit Naik
It solved my problem!

On Mon, May 2, 2016 at 3:45 PM, Fabian Hueske <[hidden email]> wrote:
Grouping a grouped dataset is not supported.
You can group on multiple keys: dataSet.groupBy(1,2).

Can you describe your use case if that does not solve the problem?



2016-05-02 10:34 GMT+02:00 Punit Naik <[hidden email]>:
Hello

I wanted to perform a groupBy on an already grouped dataset. How do I do this?

--
Thank You

Regards

Punit Naik




--
Thank You

Regards

Punit Naik