Get minimum or maximum value from a Dataset

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

Get minimum or maximum value from a Dataset

Punit Naik

Hi

I have a dataset like this:

val x : Dataset[Long]…

I wanted to get the minimum or the maximum Long value. How do I do it?

Reply | Threaded
Open this post in threaded view
|

Re: Get minimum or maximum value from a Dataset

Ufuk Celebi
https://ci.apache.org/projects/flink/flink-docs-master/apis/batch/dataset_transformations.html

On Wed, Aug 10, 2016 at 11:06 PM, Punit Naik <[hidden email]> wrote:
> Hi
>
> I have a dataset like this:
>
> val x : Dataset[Long]…
>
> I wanted to get the minimum or the maximum Long value. How do I do it?